Switch to a string already available in the wordpress.pot, via the XML-RPC server class. The other string is only available in the wordpress-admin.pot.
Prevents any string movements in the 3.5 branch. see #22858. git-svn-id: http://core.svn.wordpress.org/branches/3.5@23225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2219d84e7c
commit
69c189e9ee
|
@ -1453,7 +1453,7 @@ function wp_update_user($userdata) {
|
|||
// First, get all of the original fields
|
||||
$user_obj = get_userdata( $ID );
|
||||
if ( ! $user_obj )
|
||||
return new WP_Error( 'invalid_user_id', __( 'Invalid user ID.' ) );
|
||||
return new WP_Error( 'invalid_user_id', __( 'Invalid user ID' ) );
|
||||
|
||||
$user = $user_obj->to_array();
|
||||
|
||||
|
|
Loading…
Reference in New Issue