I18N: Merge duplicate %1$s is not of type %2$s
strings in rest_validate_value_from_schema()
.
Props ramiy. Fixes #49244. git-svn-id: https://develop.svn.wordpress.org/trunk@47091 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8738b08b2e
commit
26f27a24d8
@ -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'] ) {
|
||||
|
Loading…
Reference in New Issue
Block a user