[wp-trac] [WordPress Trac] #22212: WP_User_Query( array('role' => $role) ) should accept array or not return anything if array

WordPress Trac noreply at wordpress.org
Wed Oct 17 18:18:12 UTC 2012


#22212: WP_User_Query( array('role' => $role) ) should accept array or not return
anything if array
-------------------------+------------------------------
 Reporter:  thomask      |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Users        |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |
-------------------------+------------------------------
Changes (by greenshady):

 * cc: justin@… (added)


Comment:

 +1 to allowing an array of roles.  I have to run multiple user queries and
 merge the arrays on a regular basis.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22212#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list