Make WordPress Core

Ticket #34521: 34521-text-change-manage-users.patch

File 34521-text-change-manage-users.patch, 662 bytes (added by ramiy, 7 years ago)

Text change: manage users - on XMLRPC blogger_getUserInfo() function

  • wp-includes/class-wp-xmlrpc-server.php

     
    44094409                        return $this->error;
    44104410
    44114411                if ( !current_user_can( 'edit_posts' ) )
    4412                         return new IXR_Error( 401, __( 'Sorry, you do not have access to user data on this site.' ) );
     4412                        return new IXR_Error( 401, __( 'Sorry, you are not allowed to manage users on this site.' ) );
    44134413
    44144414                /** This action is documented in wp-includes/class-wp-xmlrpc-server.php */
    44154415                do_action( 'xmlrpc_call', 'blogger.getUserInfo' );