[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
Thu Oct 8 21:27:06 UTC 2015


#22212: WP_User_Query( array('role' => $role) ) should accept array or not return
anything if array
--------------------------------------+---------------------------
 Reporter:  thomask                   |       Owner:  boonebgorges
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  4.4
Component:  Users                     |     Version:
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------------
Changes (by boonebgorges):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"34959"]:
 {{{
 #!CommitTicketReference repository="" revision="34959"
 `WP_User_Query` role improvement redux.

 It's back, and it's better than ever: an overhaul of role-related
 arguments
 in `WP_User_Query`. This updated version of the previously-reverted
 [34875]
 includes support for the use of `$blog_id` without specifying a `$role`,
 for
 a 99.7% reduced chance of breaking wordpress.org and other large sites.

 Props boonebgorges, swissspidy.
 Fixes #22212.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/22212#comment:62>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list