Make WordPress Core


Ignore:
Timestamp:
02/10/2012 08:45:17 AM (12 years ago)
Author:
markjaquith
Message:

Autocomplete for add-user screens in multisite. props boonebgorges, Japh, DrewAPicture, PeteMall, nacin, koopersmith, markjaquith. see #19810.

File:
1 edited

Legend:

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

    r19593 r19897  
    172172$submenu_file = 'sites.php';
    173173
     174if ( current_user_can( 'promote_users' ) && apply_filters( 'show_network_site_users_add_existing_form', true ) && !wp_is_large_network( 'users' ) )
     175    wp_enqueue_script( 'user-search' );
     176
    174177require('../admin-header.php'); ?>
     178
     179<script type='text/javascript'>
     180/* <![CDATA[ */
     181var current_site_id = <?php echo $id; ?>;
     182/* ]]> */
     183</script>
     184
    175185
    176186<div class="wrap">
Note: See TracChangeset for help on using the changeset viewer.