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

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 6 08:15:17 UTC 2010


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

Comment(by dd32):

 > but I don't agree with the statement that this would negatively affect
 existing code.

 I concur with you there.

 A plugin developer using this syntax is the same as a plugin developer
 using a php5-only function. Its their choice to use it, it'll work, but
 it'll mean that their minimum PHP requirement is boosted.

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


More information about the wp-trac mailing list