mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-25 02:27:50 +01:00
I18N: Fix typo in a string in rest_validate_value_from_schema()
.
Props pedromendonca. Reviewed by TimothyBlynJacobs, SergeyBiryukov. Merges [48767] to the 5.5 branch. Fixes #50879. Built from https://develop.svn.wordpress.org/branches/5.5@48768 git-svn-id: http://core.svn.wordpress.org/branches/5.5@48530 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8e47fe0608
commit
d5b78890ed
@ -1579,7 +1579,7 @@ function rest_validate_value_from_schema( $value, $args, $param = '' ) {
|
|||||||
_doing_it_wrong(
|
_doing_it_wrong(
|
||||||
__FUNCTION__,
|
__FUNCTION__,
|
||||||
/* translators: 1. Parameter 2. The list of allowed types. */
|
/* 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'
|
'5.5.0'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
@ -1849,7 +1849,7 @@ function rest_sanitize_value_from_schema( $value, $args, $param = '' ) {
|
|||||||
_doing_it_wrong(
|
_doing_it_wrong(
|
||||||
__FUNCTION__,
|
__FUNCTION__,
|
||||||
/* translators: 1. Parameter. 2. The list of allowed types. */
|
/* 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'
|
'5.5.0'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.5-RC2-48763';
|
$wp_version = '5.5-RC2-48768';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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.
|
||||||
|
Loading…
Reference in New Issue
Block a user