mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
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:
parent
1a43f0b290
commit
d1436af513
@ -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 ) ) {
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user