WordPress.org

Make WordPress Core


Ignore:
Timestamp:
03/24/2012 04:54:58 AM (9 years ago)
Author:
markjaquith
Message:

Autocomplete site names in Network Admin. More user completion areas. props Japh, DrewAPicture. see #19810.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/users.php

    r19640 r20279  
    339339        exit;
    340340    }
     341
     342    if ( is_multisite()
     343        && current_user_can( 'promote_users' )
     344        && ! wp_is_large_network( 'users' )
     345        && ( is_super_admin() || apply_filters( 'autocomplete_users_for_site_admins', false ) )
     346    ) {
     347        wp_enqueue_script( 'user-search' );
     348    }
     349
    341350    include('./admin-header.php');
    342351
Note: See TracChangeset for help on using the changeset viewer.