[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
Sat Mar 23 11:57:52 UTC 2013
#22212: WP_User_Query( array('role' => $role) ) should accept array or not return
anything if array
-------------------------+------------------------------
Reporter: thomask | Owner:
Type: enhancement | Status: closed
Priority: normal | Milestone: Awaiting Review
Component: Users | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch |
-------------------------+------------------------------
Changes (by barrykooij):
* cc: wpcore@… (added)
* keywords: needs-patch => has-patch
* status: new => closed
* resolution: => fixed
Comment:
Please see attached patch for fix. I've set the default value of 'role' to
array with backwards support for give a String as argument.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22212#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list