From 18cd7519e138d282be413fd6269c3577f252c6db Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 9 Aug 2020 02:00:04 +0000 Subject: [PATCH] I18N: Fix typo in a string in `rest_validate_value_from_schema()`. Props pedromendonca. Fixes #50879. Built from https://develop.svn.wordpress.org/trunk@48767 git-svn-id: http://core.svn.wordpress.org/trunk@48529 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/rest-api.php | 4 ++-- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-includes/rest-api.php b/wp-includes/rest-api.php index 0fa0f65406..a43019150a 100644 --- a/wp-includes/rest-api.php +++ b/wp-includes/rest-api.php @@ -1579,7 +1579,7 @@ function rest_validate_value_from_schema( $value, $args, $param = '' ) { _doing_it_wrong( __FUNCTION__, /* translators: 1: Parameter, 2: The list of allowed types. */ - wp_sprintf( __( 'The "type" schema keyword for %1$s can only be on of the built-in types: %2$l.' ), $param, $allowed_types ), + wp_sprintf( __( 'The "type" schema keyword for %1$s can only be one of the built-in types: %2$l.' ), $param, $allowed_types ), '5.5.0' ); } @@ -1849,7 +1849,7 @@ function rest_sanitize_value_from_schema( $value, $args, $param = '' ) { _doing_it_wrong( __FUNCTION__, /* translators: 1: Parameter, 2: The list of allowed types. */ - wp_sprintf( __( 'The "type" schema keyword for %1$s can only be on of the built-in types: %2$l.' ), $param, $allowed_types ), + wp_sprintf( __( 'The "type" schema keyword for %1$s can only be one of the built-in types: %2$l.' ), $param, $allowed_types ), '5.5.0' ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index 3df78603a6..c928cb1902 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.6-alpha-48766'; +$wp_version = '5.6-alpha-48767'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.