From 9b6afe8a3f980acffc7b307eff2f211c5415d90c Mon Sep 17 00:00:00 2001 From: audrasjb Date: Fri, 28 Mar 2025 22:44:29 +0000 Subject: [PATCH] REST API: Properly capitalize "REST" in translation strings. Reviewed by jorbin. Merges [60104] to the 6.8 branch. Props tobifjellner, sabernhardt, abcd95. Fixes #63193. Built from https://develop.svn.wordpress.org/branches/6.8@60105 git-svn-id: http://core.svn.wordpress.org/branches/6.8@59441 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/rest-api.php | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/rest-api.php b/wp-includes/rest-api.php index 10b168bda6..836e0e5ec8 100644 --- a/wp-includes/rest-api.php +++ b/wp-includes/rest-api.php @@ -434,7 +434,7 @@ function rest_api_loaded() { if ( ! is_string( $GLOBALS['wp']->query_vars['rest_route'] ) ) { $rest_type_error = new WP_Error( 'rest_path_invalid_type', - __( 'The rest route parameter must be a string.' ), + __( 'The REST route parameter must be a string.' ), array( 'status' => 400 ) ); wp_die( $rest_type_error ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 0bbc2f40f5..fcc65d89e6 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.8-RC1-60099'; +$wp_version = '6.8-RC1-60105'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.