From d2eed678ab8032a4e87bc0f8e0f4f3fa9cd34cbb Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Wed, 29 May 2024 08:23:11 +0000 Subject: [PATCH] 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 --- .../rest-api/endpoints/class-wp-rest-templates-controller.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php b/wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php index 949e485fc6..0ac6c7de5a 100644 --- a/wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php +++ b/wp-includes/rest-api/endpoints/class-wp-rest-templates-controller.php @@ -253,7 +253,7 @@ class WP_REST_Templates_Controller extends WP_REST_Controller { return new WP_Error( '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( 'status' => rest_authorization_required_code(), ) @@ -310,7 +310,7 @@ class WP_REST_Templates_Controller extends WP_REST_Controller { return new WP_Error( '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( 'status' => rest_authorization_required_code(), ) diff --git a/wp-includes/version.php b/wp-includes/version.php index 219c351814..6192bf56be 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @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.