[wp-trac] [WordPress Trac] #19810: Autocomplete for users and sites in Network admin
WordPress Trac
wp-trac at lists.automattic.com
Mon Feb 6 21:45:32 UTC 2012
#19810: Autocomplete for users and sites in Network admin
----------------------------+------------------
Reporter: markjaquith | Owner:
Type: task (blessed) | Status: new
Priority: high | Milestone: 3.4
Component: Multisite | Version:
Severity: normal | Resolution:
Keywords: has-patch |
----------------------------+------------------
Comment (by nacin):
[attachment:19810.diff] is a refresh.
It leverages get_users() rather than WP_User_Query, which like get_posts()
simply returns results (cast to an array, which makes it easy for foreach
loops).
Introduces a new WP_User_Query argument, search_columns, to allow for
explicit column choices (of a limited indexed set, for now), to bypass the
column auto-detection code, which is nifty but does not work well for
autocomplete.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19810#comment:29>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list