[wp-trac] [WordPress Trac] #16749: Hooks alter/break array-formatted callbacks

WordPress Trac wp-trac at lists.automattic.com
Fri Mar 4 19:01:18 UTC 2011


#16749: Hooks alter/break array-formatted callbacks
-------------------------------+------------------------------
 Reporter:  Veraxus            |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  General            |     Version:  3.1
 Severity:  major              |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------

Comment (by scribu):

 Maybe you're adding the priority in the array by mistake:

 {{{add_action( 'foo', array( 'class', 'method, 1 ) );}}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16749#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list