[wp-trac] [WordPress Trac] #19867: wp_dropdown_users() still not scalable
WordPress Trac
noreply at wordpress.org
Tue Sep 29 19:46:47 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 | Focuses: ui, performance
--------------------------+------------------------------
Changes (by DrewAPicture):
* keywords: has-patch needs-refresh => has-patch
Comment:
Following [34692], it was
[https://twitter.com/de_baat/status/648938953710682114 pointed out] that
the 'name' argument isn't actually available for targeting specific
instances of `wp_dropdown_users()`. This is because we're currently only
passing `$query_args` to the hook. Access to 'name' means we also need to
pass the actual default arguments.
[attachment:19867.4.diff] adds `$r` (the default arguments) to the hook.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/19867#comment:61>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list