[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 Oct 6 20:57:38 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: reopened
Priority: highest omg bbq | Milestone: 4.4
Component: Users | Version:
Severity: blocker | Resolution:
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+---------------------------
Comment (by jorbin):
In [changeset:"34880"]:
{{{
#!CommitTicketReference repository="" revision="34880"
Revert [34875] due to unintentional breaking change
WordPress.org was taken down due to as Otto42 describes:
The previous version of this function added the query piece for the meta
key = blog_id.capabilities, regardless of whether or not a role was
requested. This limits the users returned to those with some defined role
on this particular multisite instance.
See #22212
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/22212#comment:53>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list