Boone Gorges
f233b37d07
Improve role-related arguments in WP_User_Query
.
...
* '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 .
Built from https://develop.svn.wordpress.org/trunk@34875
git-svn-id: http://core.svn.wordpress.org/trunk@34840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-10-06 17:40:47 +00:00
..
2015-09-18 08:43:26 +00:00
2015-09-14 17:10:26 +00:00
2015-10-06 14:02:25 +00:00
2015-09-20 03:52:25 +00:00
2015-09-25 23:58:25 +00:00
2015-09-20 08:49:27 +00:00
2015-09-29 04:32:25 +00:00
2015-09-20 03:52:25 +00:00
2015-09-29 01:49:25 +00:00
2015-09-08 22:17:26 +00:00
2015-09-16 10:03:26 +00:00
2015-10-01 05:09:50 +00:00
2015-10-02 19:08:26 +00:00
2015-09-22 13:46:25 +00:00
2015-09-22 14:21:23 +00:00
2015-09-29 19:12:27 +00:00
2015-09-22 14:20:24 +00:00
2015-09-20 03:52:25 +00:00
2015-09-26 07:04:28 +00:00
2015-09-26 03:11:24 +00:00
2015-09-16 12:46:28 +00:00
2015-10-02 23:20:28 +00:00
2015-09-16 12:46:28 +00:00
2015-09-20 03:52:25 +00:00
2015-09-20 03:52:25 +00:00
2015-09-22 14:03:25 +00:00
2015-09-22 14:01:25 +00:00
2015-09-22 13:43:25 +00:00
2015-09-22 13:58:24 +00:00
2015-09-22 15:09:24 +00:00
2015-10-01 03:58:23 +00:00
2015-10-01 03:58:23 +00:00
2015-09-29 21:40:24 +00:00
2015-09-19 06:40:26 +00:00
2015-09-24 09:16:25 +00:00
2015-09-13 06:16:26 +00:00
2015-09-09 04:39:25 +00:00
2015-10-05 21:58:24 +00:00
2015-09-25 21:02:27 +00:00
2015-09-30 04:13:48 +00:00
2015-08-25 20:28:22 +00:00
2015-09-26 07:04:28 +00:00
2015-09-27 21:37:24 +00:00
2015-09-03 03:28:21 +00:00
2015-09-15 16:16:43 +00:00
2015-09-03 03:30:21 +00:00
2015-09-26 07:04:28 +00:00
2015-10-05 22:40:25 +00:00
2015-08-25 20:28:22 +00:00
2015-09-22 13:26:23 +00:00
2015-10-04 20:51:25 +00:00
2015-09-22 13:10:24 +00:00
2015-09-30 01:11:25 +00:00
2015-09-22 13:46:25 +00:00
2015-09-22 13:46:25 +00:00
2015-09-22 13:16:30 +00:00
2015-10-02 19:08:26 +00:00
2015-10-06 17:40:47 +00:00
2015-09-24 00:49:25 +00:00
2015-09-14 15:33:27 +00:00
2015-09-22 13:48:25 +00:00
2015-10-02 20:50:25 +00:00
2015-10-06 13:41:26 +00:00
2015-09-27 18:49:29 +00:00
2015-08-25 20:28:22 +00:00
2015-10-06 13:54:25 +00:00
2015-10-03 22:43:27 +00:00
2015-10-06 17:17:24 +00:00
2015-09-22 13:44:25 +00:00
2015-10-06 02:56:24 +00:00
2015-09-26 04:51:26 +00:00
2015-08-29 01:47:21 +00:00
2015-10-02 19:08:26 +00:00
2015-10-06 04:59:24 +00:00
2015-09-22 13:36:25 +00:00
2015-09-29 22:46:25 +00:00
2015-10-06 03:59:24 +00:00
2015-09-16 11:02:24 +00:00
2015-10-02 07:03:25 +00:00
2015-10-06 03:19:25 +00:00
2015-10-02 22:48:26 +00:00
2015-09-22 03:14:25 +00:00
2015-09-03 04:36:30 +00:00
2015-08-25 21:46:20 +00:00
2015-10-05 15:06:28 +00:00
2015-09-30 04:13:48 +00:00
2015-10-05 15:06:28 +00:00
2015-09-24 13:26:24 +00:00
2015-09-11 18:30:26 +00:00
2015-10-06 04:59:24 +00:00
2015-09-22 13:27:24 +00:00
2015-09-22 13:30:24 +00:00
2015-10-02 19:08:26 +00:00
2015-09-16 22:19:24 +00:00
2015-10-02 19:08:26 +00:00
2015-10-06 04:35:25 +00:00
2015-10-02 19:08:26 +00:00
2015-10-05 15:06:28 +00:00
2015-09-28 18:41:26 +00:00
2015-10-02 06:46:24 +00:00
2015-10-06 14:10:25 +00:00
2015-09-20 03:52:25 +00:00
2015-10-02 19:08:26 +00:00
2015-09-25 23:58:25 +00:00
2015-08-25 20:28:22 +00:00
2015-10-02 04:36:24 +00:00
2015-10-06 01:30:25 +00:00
2015-09-28 15:34:25 +00:00
2015-09-22 13:13:26 +00:00
2015-10-05 20:58:29 +00:00
2015-08-25 20:28:22 +00:00
2015-09-04 01:52:24 +00:00
2015-09-30 02:42:26 +00:00
2015-08-26 04:42:20 +00:00
2015-08-25 20:28:22 +00:00
2015-10-06 15:52:26 +00:00
2015-10-06 14:34:24 +00:00
2015-10-03 21:19:23 +00:00
2015-09-22 13:23:25 +00:00
2015-10-03 15:00:25 +00:00
2015-10-05 15:06:28 +00:00
2015-10-05 15:06:28 +00:00
2015-10-06 05:35:25 +00:00
2015-09-22 13:03:24 +00:00
2015-09-05 22:33:23 +00:00
2015-10-06 17:40:47 +00:00
2015-09-25 23:58:25 +00:00
2015-09-03 03:14:20 +00:00
2015-10-01 05:37:26 +00:00
2015-09-20 03:52:25 +00:00