mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
I18N: Fix typo in a string in rest_validate_value_from_schema().
Props pedromendonca. Fixes #50879. git-svn-id: https://develop.svn.wordpress.org/trunk@48767 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -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'
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user