Ticket #34521: 34521-text-change-manage-users.patch
File 34521-text-change-manage-users.patch, 662 bytes (added by , 7 years ago) |
---|
-
wp-includes/class-wp-xmlrpc-server.php
4409 4409 return $this->error; 4410 4410 4411 4411 if ( !current_user_can( 'edit_posts' ) ) 4412 return new IXR_Error( 401, __( 'Sorry, you do not have access to user dataon this site.' ) );4412 return new IXR_Error( 401, __( 'Sorry, you are not allowed to manage users on this site.' ) ); 4413 4413 4414 4414 /** This action is documented in wp-includes/class-wp-xmlrpc-server.php */ 4415 4415 do_action( 'xmlrpc_call', 'blogger.getUserInfo' );