[wp-trac] [WordPress Trac] #38135: Support 'role__in' and 'role__not_in' arguments in wp_dropdown_users()
WordPress Trac
noreply at wordpress.org
Sun Sep 25 17:44:26 UTC 2016
#38135: Support 'role__in' and 'role__not_in' arguments in wp_dropdown_users()
-------------------------+-----------------------------
Reporter: sillybean | Owner: boonebgorges
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.7
Component: Users | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: administration
-------------------------+-----------------------------
Changes (by boonebgorges):
* owner: => boonebgorges
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"38651"]:
{{{
#!CommitTicketReference repository="" revision="38651"
Allow 'role' parameters to be passed to `wp_dropdown_users()`.
`wp_dropdown_users()` contains a whitelist of function params that are
passed through to `get_users()`. `role`, `role__in`, and `role__not_in`
have now been added to this whitelist.
Props sillybean.
Fixes #38135.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38135#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list