Changeset 17011
- Timestamp:
- 12/16/2010 11:43:24 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/class-wp-xmlrpc-server.php
r16999 r17011 781 781 782 782 $authors = array(); 783 foreach ( get_users( ) as $user_id => $user_object) {783 foreach ( get_users( array( 'fields' => array('ID','user_login','display_name') ) ) as $user ) { 784 784 $authors[] = array( 785 "user_id" => $user _id,786 "user_login" => $user _object->user_login,787 "display_name" => $user _object->display_name785 "user_id" => $user->ID, 786 "user_login" => $user->user_login, 787 "display_name" => $user->display_name 788 788 ); 789 789 }
Note: See TracChangeset
for help on using the changeset viewer.