[wp-trac] Re: [WordPress Trac] #5231: add_action('all', ...) causes unexpected behaviour

WordPress Trac wp-trac at lists.automattic.com
Sun Nov 4 05:45:38 GMT 2007


#5231: add_action('all', ...) causes unexpected behaviour
-------------------------------------+--------------------------------------
 Reporter:  tellyworth               |        Owner:  anonymous
     Type:  defect                   |       Status:  new      
 Priority:  normal                   |    Milestone:  2.5      
Component:  General                  |      Version:           
 Severity:  normal                   |   Resolution:           
 Keywords:  has-patch needs-testing  |  
-------------------------------------+--------------------------------------
Comment (by ryan):

 Is there any reason to have both filters and actions in $wp_filter?  How
 about we separate actions into $wp_action with a merge_actions() function.
 Also, do_action() looks like it is always calling merge_filters() instead
 of checking to see if that tag is already merged.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5231#comment:9>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list