[wp-trac] [WordPress Trac] #21119: Make WP_User_Query::prepare_query() public

WordPress Trac noreply at wordpress.org
Mon Feb 17 21:40:05 UTC 2014


#21119: Make WP_User_Query::prepare_query() public
----------------------------------------+-----------------------------
 Reporter:  scribu                      |       Owner:  wonderboymusic
     Type:  enhancement                 |      Status:  closed
 Priority:  normal                      |   Milestone:  3.9
Component:  Users                       |     Version:
 Severity:  normal                      |  Resolution:  fixed
 Keywords:  has-patch needs-unit-tests  |     Focuses:
----------------------------------------+-----------------------------
Changes (by wonderboymusic):

 * owner:   => wonderboymusic
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"27185"]:
 {{{
 #!CommitTicketReference repository="" revision="27185"
 Make `WP_User_Query::prepare_query()` public by allowing it to be passed
 an array of args. Previously, if the `WP_User_Query` constructor was not
 passed args, the object was basically unusable. Adds unit tests, all other
 tests pass.

 Props scribu, for the initial patch.
 Fixes #21119.
 }}}

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


More information about the wp-trac mailing list