mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Text Changes: Unify/merge two more permission error messages.
Props ramiy. Fixes #34521. git-svn-id: https://develop.svn.wordpress.org/trunk@38037 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -4409,7 +4409,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
return $this->error;
|
||||
|
||||
if ( !current_user_can( 'edit_posts' ) )
|
||||
return new IXR_Error( 401, __( 'Sorry, you do not have access to user data on this site.' ) );
|
||||
return new IXR_Error( 401, __( 'Sorry, you are not allowed to access user data on this site.' ) );
|
||||
|
||||
/** This action is documented in wp-includes/class-wp-xmlrpc-server.php */
|
||||
do_action( 'xmlrpc_call', 'blogger.getUserInfo' );
|
||||
|
||||
Reference in New Issue
Block a user