[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
Mon Oct 7 14:03:18 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: Future
Component: Users | Release
Severity: normal | Version:
Keywords: has-patch needs-unit-tests needs- | Resolution:
testing |
-------------------------------------------------+-------------------------
Comment (by barrykooij):
Updated the user.php to latest trunk and fixed a small bug in it. Also
added 6 unit tests.
Talked this over with nacin, {{{role => array( role1, role2 )}}} will
still result in returning both role1 and role2 (OR relation), no
{{{role__in}}} will be added for now.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22212#comment:20>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list