WordPress.org

Make WordPress Core

Changeset 17012


Ignore:
Timestamp:
12/17/10 00:11:21 (3 years ago)
Author:
scribu
Message:

Get only required fields in populate_network(). See #15854

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/schema.php

    r16092 r17012  
    668668    if ( !is_multisite() ) { 
    669669        $site_admins = array( $site_user->user_login ); 
    670         $users = get_users(); 
     670        $users = get_users( array( 'fields' => array( 'ID', 'user_login' ) ) ); 
    671671        if ( $users ) { 
    672672            foreach ( $users as $user ) { 
Note: See TracChangeset for help on using the changeset viewer.