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

WordPress Trac wp-trac at lists.automattic.com
Fri Jan 8 01:51:36 UTC 2010


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

Comment(by Denis-de-Bernardy):

 @Mike: both pollute the namespace. it's just that in one case it's a
 lambda that can't be removed, whereas in the other it's a nearly lambda
 that can. I don't care much myself. I consider both to be bad practice.
 :-P

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


More information about the wp-trac mailing list