[wp-trac] [WordPress Trac] #14869: Adding a "callback" to WP_Query()

WordPress Trac wp-trac at lists.automattic.com
Tue Sep 14 16:13:16 UTC 2010


#14869: Adding a "callback" to WP_Query()
--------------------------+-------------------------------------------------
 Reporter:  mikeschinkel  |       Owner:                 
     Type:  enhancement   |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Query         |     Version:                 
 Severity:  normal        |    Keywords:                 
--------------------------+-------------------------------------------------

Comment(by filosofo):

 The current WP_Query object is passed to the `posts_request` filter, so
 why can't you just access its `query_vars` property inside the callback
 attached to `posts_request`?

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


More information about the wp-trac mailing list