[wp-trac] [WordPress Trac] #12535: Add actions/filters to WP_Query::get_queried_object()

WordPress Trac wp-trac at lists.automattic.com
Sun Mar 7 01:39:56 UTC 2010


#12535: Add actions/filters to WP_Query::get_queried_object()
-------------------------+--------------------------------------------------
 Reporter:  jfarthing84  |       Owner:  ryan                  
     Type:  enhancement  |      Status:  new                   
 Priority:  normal       |   Milestone:  Future Release        
Component:  Query        |     Version:  3.0                   
 Severity:  normal       |    Keywords:  dev-feedback has-patch
-------------------------+--------------------------------------------------

Comment(by dd32):

 > Mainly to manipulate the is_* template functions...

 That'd be better applied via a proper action such as this one:
 {{{do_action_ref_array('parse_query', array(&$this));}}} (Query.php
 L#1539)

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


More information about the wp-trac mailing list