[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 13:52:05 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 knutsp):

 * cc: knut@… (added)
 * keywords:   => needs-patch
 * type:  defect (bug) => enhancement


Comment:

 +1. I use array_merge on two or more queries. It would be nice to pass an
 array, as long as the result is one effective query.

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


More information about the wp-trac mailing list