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

WordPress Trac wp-trac at lists.automattic.com
Sat Jun 30 07:59:31 UTC 2012


#21119: Make WP_User_Query::prepare_query() public
-------------------------+------------------------------
 Reporter:  scribu       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------------------

Comment (by scribu):

 With the patch, it's now possible to do this:

 {{{
 // construct $args somehow

 $uq = new WP_User_Query;

 $uq->prepare_query( $args );

 var_dump( $uq->query_where );
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/21119#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list