[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
Tue Mar 26 22:52:39 UTC 2013


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

Comment (by markoheijnen):

 Alex, I disagree with that kind of markup since you have two ways to
 select role. So what happens when you pass the role__in and role
 arguments? That can trow confusion.

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


More information about the wp-trac mailing list