Changeset 15567
- Timestamp:
- 09/05/2010 02:49:52 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/schema.php
r15305 r15567 668 668 if ( !is_multisite() ) { 669 669 $site_admins = array( $site_user->user_login ); 670 $users = get_users _of_blog();670 $users = get_users(); 671 671 if ( $users ) { 672 672 foreach ( $users as $user ) { -
trunk/wp-includes/author-template.php
r15148 r15567 282 282 283 283 /** @todo Move select to get_authors(). */ 284 $users = get_users _of_blog();284 $users = get_users(); 285 285 $author_ids = array(); 286 286 foreach ( (array) $users as $user ) -
trunk/wp-includes/user.php
r15566 r15567 573 573 */ 574 574 function get_users_of_blog( $id = '' ) { 575 global $ wpdb, $blog_id;575 global $blog_id; 576 576 577 577 if ( empty($id) ) -
trunk/xmlrpc.php
r15557 r15567 835 835 836 836 $authors = array(); 837 foreach ( (array) get_users_of_blog() as $row) {837 foreach ( get_users() as $user_id => $user_object ) { 838 838 $authors[] = array( 839 "user_id" => $ row->user_id,840 "user_login" => $ row->user_login,841 "display_name" => $ row->display_name839 "user_id" => $user_id, 840 "user_login" => $user_object->user_login, 841 "display_name" => $user_object->display_name 842 842 ); 843 843 } 844 844 845 return ($authors);845 return $authors; 846 846 } 847 847
Note: See TracChangeset
for help on using the changeset viewer.