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

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


#16749: Hooks alter/break array-formatted callbacks
--------------------------+-------------------------
 Reporter:  Veraxus       |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  General       |     Version:  3.1
 Severity:  normal        |  Resolution:  worksforme
 Keywords:                |
--------------------------+-------------------------
Changes (by westi):

 * keywords:  reporter-feedback =>
 * status:  new => closed
 * resolution:   => worksforme
 * severity:  major => normal
 * milestone:  Awaiting Review =>


Comment:

 Replying to [comment:2 scribu]:
 > Maybe you're adding the priority in the array by mistake:
 >
 > {{{add_action( 'foo', array( 'class', 'method, 1 ) );}}}

 That exactly how he shows it in the ticket description which is incorrect.

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


More information about the wp-trac mailing list