[wp-trac] [WordPress Trac] #14349: Filter to query_posts() args

WordPress Trac wp-trac at lists.automattic.com
Mon Jul 19 19:46:42 UTC 2010


#14349: Filter to query_posts() args
-------------------------+--------------------------------------------------
 Reporter:  lucaswxp     |       Owner:             
     Type:  enhancement  |      Status:  new        
 Priority:  normal       |   Milestone:  3.1        
Component:  Query        |     Version:  3.0        
 Severity:  normal       |    Keywords:  needs-patch
-------------------------+--------------------------------------------------

Comment(by filosofo):

 Replying to [comment:3 scribu]:
 > Well, the earliest hook is 'parse_query', which might or might not be
 good enough.
 >
 > So a nice clean filter right at the beginning of WP_Query::parse_query()
 wouldn't hurt.

 What would that do for custom query variables that using a callback on
 `parse_query` doesn't?  In other words, I don't see anything here that
 can't easily be accomplished using existing hooks.

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


More information about the wp-trac mailing list