[wp-trac] [WordPress Trac] #25016: XMLRPC method "wp.getUsers" not working correctly on WordPress.com

WordPress Trac noreply at wordpress.org
Tue Aug 13 13:24:00 UTC 2013


#25016: XMLRPC method "wp.getUsers" not working correctly on WordPress.com
--------------------------+------------------------------
 Reporter:  dinomic       |       Owner:
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  XML-RPC       |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------
Changes (by markoheijnen):

 * status:  closed => reopened
 * resolution:  invalid =>
 * milestone:   => Awaiting Review


Comment:

 This is probably a cause of

 {{{
 if ( current_user_can( 'edit_user', $user_data->ID ) )
      $_users[] = $this->_prepare_user( $user_data, $fields );
 }}}

 I'm not sure but maybe this check can be removed since there is already a
 capability check {{{ current_user_can( 'list_users' ) }}}

 I'm reopening it for further investigation.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25016#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list