[wp-trac] [WordPress Trac] #19867: wp_dropdown_users() still not scalable
WordPress Trac
noreply at wordpress.org
Tue Sep 29 15:39:30 UTC 2015
#19867: wp_dropdown_users() still not scalable
-------------------------------------+------------------------------
Reporter: prettyboymp | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.4
Component: Users | Version: 3.3.1
Severity: normal | Resolution:
Keywords: has-patch needs-refresh | Focuses: ui, performance
-------------------------------------+------------------------------
Comment (by DrewAPicture):
In [changeset:"34692"]:
{{{
#!CommitTicketReference repository="" revision="34692"
Users: Introduce the `wp_dropdown_users_args` filter, making it possible
to filter the arguments for `wp_dropdown_users()` before the query is run.
The 'name' argument (or the `WP_Screen` object if in the admin) can be
used to help target specific instances of `wp_dropdown_users()` via this
hook.
Props norcross.
See #19867.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/19867#comment:60>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list