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

WordPress Trac wp-trac at lists.automattic.com
Mon Nov 5 06:57:17 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 ryan):

 Patch gets rid of the merge entirely. 'all' filters and actions are done
 first, followed by the filter or action being invoked.  Filters and
 actions are separated completely.  The xdebug profiler shows notable
 speedup in add_action() and add_filter() with apply_filters() and
 do_action() being about the same speed as before.

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


More information about the wp-trac mailing list