mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
* 'role' now accepts an array or comma-separated list of role names. When passing multiple values for 'role', `WP_User_Query` will only match users that have all of the specified roles. * 'role__in' accepts an array of role names, and allow the filtering of matched users to those with at least one of the specified roles. * 'role__not_in' accepts an array of role names, and allows the filtering of matched users to those who have none of the specified roles. Props swissspidy, mordauk, barrykooij, sirbrillig. Fixes #22212. git-svn-id: https://develop.svn.wordpress.org/trunk@34875 602fd350-edb4-49c9-b593-d223f7449a82 |
||
|---|---|---|
| .. | ||
| phpunit | ||
| qunit | ||