[wp-trac] [WordPress Trac] #9886: Add an apply_filter_ref_array() function

WordPress Trac wp-trac at lists.automattic.com
Fri Dec 18 15:08:49 UTC 2009


#9886: Add an apply_filter_ref_array() function
-----------------------------+----------------------------------------------
 Reporter:  westi            |       Owner:  westi            
     Type:  feature request  |      Status:  new              
 Priority:  normal           |   Milestone:  3.0              
Component:  Plugins          |     Version:  2.8              
 Severity:  major            |    Keywords:  needs-patch early
-----------------------------+----------------------------------------------

Comment(by Denis-de-Bernardy):

 @Westi: there is a do_action_ref_array very early on in the WP query. I've
 no idea of what your plugin seeks to do, but I'm 99% you can check if
 $wp_query === $wp_the_query at that stage, and enable/disable your hooks
 accordingly.

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


More information about the wp-trac mailing list