[wp-trac] [WordPress Trac] #10493: Allow closures as callbacks

WordPress Trac wp-trac at lists.automattic.com
Sun May 16 08:08:16 UTC 2010


#10493: Allow closures as callbacks
-------------------------+--------------------------------------------------
 Reporter:  scribu       |        Owner:  westi   
     Type:  enhancement  |       Status:  accepted
 Priority:  low          |    Milestone:  3.0     
Component:  Plugins      |      Version:  2.9     
 Severity:  minor        |   Resolution:          
 Keywords:  has-patch    |  
-------------------------+--------------------------------------------------

Comment(by westi):

 Dug into this a little and the array cast on the closure was just
 generating an empty array.

 Going with a slightly different patch so we still use the rest of the code
 as before even when passed an object.

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


More information about the wp-trac mailing list