WordPress.org

Make WordPress Core

Changeset 16574


Ignore:
Timestamp:
11/24/2010 08:03:28 PM (7 years ago)
Author:
PeteMall
Message:

Use get_user_count() in network admin users. Fixes #15567

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/class-wp-ms-users-list-table.php

    r16530 r16574  
    8484        global $wp_roles, $role;
    8585
    86         $users_of_blog = count_users();
    87         $total_users = $users_of_blog['total_users'];
     86        $total_users = get_user_count();
    8887        $super_admins = get_super_admins();
    8988        $total_admins = count( $super_admins );
    90         unset($users_of_blog);
    9189
    9290        $current_role = false;
Note: See TracChangeset for help on using the changeset viewer.