REST API: Remove `default` text domain from translatable strings after [58227].

See #61137.
Built from https://develop.svn.wordpress.org/trunk@58229


git-svn-id: http://core.svn.wordpress.org/trunk@57692 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Pascal Birchler 2024-05-29 08:23:11 +00:00
parent 6a2b736c2f
commit d2eed678ab
2 changed files with 3 additions and 3 deletions

View File

@ -253,7 +253,7 @@ class WP_REST_Templates_Controller extends WP_REST_Controller {
return new WP_Error( return new WP_Error(
'rest_cannot_manage_templates', 'rest_cannot_manage_templates',
__( 'Sorry, you are not allowed to access the templates on this site.', 'default' ), __( 'Sorry, you are not allowed to access the templates on this site.' ),
array( array(
'status' => rest_authorization_required_code(), 'status' => rest_authorization_required_code(),
) )
@ -310,7 +310,7 @@ class WP_REST_Templates_Controller extends WP_REST_Controller {
return new WP_Error( return new WP_Error(
'rest_cannot_manage_templates', 'rest_cannot_manage_templates',
__( 'Sorry, you are not allowed to access the templates on this site.', 'default' ), __( 'Sorry, you are not allowed to access the templates on this site.' ),
array( array(
'status' => rest_authorization_required_code(), 'status' => rest_authorization_required_code(),
) )

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.6-alpha-58228'; $wp_version = '6.6-alpha-58229';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.