WordPress.org

Make WordPress Core

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

File 34521-text-change-manage-users.2.patch, 666 bytes (added by ramiy, 5 years ago)

you are not allowed to access user data

  • 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 access user data on this site.' ) );
    44134413
    44144414                /** This action is documented in wp-includes/class-wp-xmlrpc-server.php */
    44154415                do_action( 'xmlrpc_call', 'blogger.getUserInfo' );