WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/21/2010 01:08:47 PM (11 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/includes/default-list-tables.php

    r15876 r15882  
    29592959                        <td valign="top">
    29602960                            <?php
    2961                             $blogusers = get_users_of_blog( $blog['blog_id'], array('number' => 6) );
     2961                            $blogusers = get_users( array( 'blog_id' => $blog['blog_id'], 'number' => 6) );
    29622962                            if ( is_array( $blogusers ) ) {
    29632963                                $blogusers_warning = '';
Note: See TracChangeset for help on using the changeset viewer.