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

WordPress Trac wp-trac at lists.automattic.com
Sun Nov 4 16:28:37 GMT 2007


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

 Replying to [comment:9 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.

 After some thought, it would make sense to separate the two, in order to
 keep any overriding nature from happening.

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


More information about the wp-trac mailing list