mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Text Changes: Merge strings referring to list_users capability.
See #38857. git-svn-id: https://develop.svn.wordpress.org/trunk@39312 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -2476,7 +2476,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
do_action( 'xmlrpc_call', 'wp.getUsers' );
|
||||
|
||||
if ( ! current_user_can( 'list_users' ) )
|
||||
return new IXR_Error( 401, __( 'Sorry, you are not allowed to browse users.' ) );
|
||||
return new IXR_Error( 401, __( 'Sorry, you are not allowed to list users.' ) );
|
||||
|
||||
$query = array( 'fields' => 'all_with_meta' );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user