REST API: Unabbreviate error string.

Props daniel-koskinen.
Fixes #34818.

Built from https://develop.svn.wordpress.org/trunk@35750


git-svn-id: http://core.svn.wordpress.org/trunk@35714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Ryan McCue 2015-11-30 09:51:27 +00:00
parent 1a43f0b290
commit d1436af513
2 changed files with 2 additions and 2 deletions

View File

@ -847,7 +847,7 @@ class WP_REST_Request implements ArrayAccess {
$valid_check = call_user_func( $arg['validate_callback'], $param, $this, $key );
if ( false === $valid_check ) {
$invalid_params[ $key ] = __( 'Invalid param.' );
$invalid_params[ $key ] = __( 'Invalid parameter.' );
}
if ( is_wp_error( $valid_check ) ) {

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.4-RC1-35749';
$wp_version = '4.4-RC1-35750';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.