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

WordPress Trac wp-trac at lists.automattic.com
Fri Oct 19 03:33:25 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:              |  
------------------------+---------------------------------------------------
Comment (by darkdragon):

 Not really. The all tag is screwed up regardless. #4715 details what
 happens why you do so.

 It is mostly by design, actions are filters, technically. You should
 expect that the callback will have to accept and pass though.

 {{{
 function mynamespace_all_debug_tag($string='')
 {
     // Do debug stuff here
     return $string;
 }
 }}}

 This is normal behavior

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


More information about the wp-trac mailing list