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

WordPress Trac wp-trac at lists.automattic.com
Thu Jan 7 08:26:09 UTC 2010


#10493: Allow closures as callbacks
-------------------------+--------------------------------------------------
 Reporter:  scribu       |       Owner:  scribu          
     Type:  enhancement  |      Status:  new             
 Priority:  normal       |   Milestone:  3.0             
Component:  Plugins      |     Version:  2.9             
 Severity:  normal       |    Keywords:  has-patch commit
-------------------------+--------------------------------------------------

Comment(by westi):

 I'm much happier with the current patch as it doesn't rely on the Closure
 class.

 I would like to add some tests for this to the unit-tests too but I don't
 have a PHP 5.3 setup at the moment.

 It passes all the current tests so i think we can put this in trunk for
 people that want to to use.

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


More information about the wp-trac mailing list