Make WordPress Core


Ignore:
Timestamp:
10/21/2010 01:08:47 PM (14 years ago)
Author:
ryan
Message:

Use get_users() instead of get_users_of_blog(). Props scribu. see #15053

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/network/sites.php

    r15876 r15882  
    258258
    259259                // Site users
    260                 $blogusers = get_users_of_blog( $id, array('number' => 20) );
     260                $blogusers = get_users( array( 'blog_id' => $id, 'number' => 20 ) );
    261261                if ( is_array( $blogusers ) ) {
    262262                    echo '<div id="blogedit_blogusers" class="postbox"><h3 class="hndle"><span>' . __( 'Site Users' ) . '</span></h3><div class="inside">';
Note: See TracChangeset for help on using the changeset viewer.