I18N: Merge duplicate %1$s is not of type %2$s strings in rest_validate_value_from_schema().

Props ramiy.
Fixes #49244.
Built from https://develop.svn.wordpress.org/trunk@47091


git-svn-id: http://core.svn.wordpress.org/trunk@46891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-01-20 14:44:06 +00:00
parent 1adca958e3
commit cf249b07ed
2 changed files with 2 additions and 2 deletions

View File

@ -1221,7 +1221,7 @@ function rest_validate_value_from_schema( $value, $args, $param = '' ) {
}
/* translators: 1: Parameter, 2: List of types. */
return new WP_Error( 'rest_invalid_param', sprintf( __( '%1$s is not of type %2$s' ), $param, implode( ',', $args['type'] ) ) );
return new WP_Error( 'rest_invalid_param', sprintf( __( '%1$s is not of type %2$s.' ), $param, implode( ',', $args['type'] ) ) );
}
if ( 'array' === $args['type'] ) {

View File

@ -13,7 +13,7 @@
*
* @global string $wp_version
*/
$wp_version = '5.4-alpha-47090';
$wp_version = '5.4-alpha-47091';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.