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

WordPress Trac wp-trac at lists.automattic.com
Wed Nov 7 00:31:13 GMT 2007


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

 {{{
 if ( !count($GLOBALS['wp_filter'][$tag][$priority]) )
 }}}

 Could that be:

 {{{
 if ( empty($GLOBALS['wp_filter'][$tag][$priority]) )
 }}}

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


More information about the wp-trac mailing list