Make WordPress Core


Ignore:
Timestamp:
06/05/2012 06:51:33 PM (14 years ago)
Author:
nacin
Message:

Remove user/site suggestions (autocompletion) from search inputs, as the UX isn't proper.

  • Removes all instances of site-search, so away it goes. Sidesteps a number of bugs with site-search.
  • Renames user-search to user-suggest, which means it better describes the current behavior (autocompletion) while allowing for future behavior (instant search).
  • Ties user suggestions to a single .wp-suggest-user class.

with help from markjaquith, helenyhou, wonderboymusic.
fixes #20835.

File:
1 edited

Legend:

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

    r20631 r21003  
    340340        }
    341341
    342         if ( is_multisite() && current_user_can( 'promote_users' ) && ! wp_is_large_network( 'users' )
    343                 && ( is_super_admin() || apply_filters( 'autocomplete_users_for_site_admins', false ) )
    344         ) {
    345                 wp_enqueue_script( 'user-search' );
    346         }
    347 
    348342        include('./admin-header.php');
    349343
Note: See TracChangeset for help on using the changeset viewer.