[wp-trac] [WordPress Trac] #12435: use __return_false|true instead of create_function

WordPress Trac wp-trac at lists.automattic.com
Tue Mar 2 11:39:11 UTC 2010


#12435: use __return_false|true instead of create_function
--------------------------+-------------------------------------------------
 Reporter:  TobiasBg      |       Owner:                  
     Type:  defect (bug)  |      Status:  new             
 Priority:  normal        |   Milestone:  3.0             
Component:  General       |     Version:                  
 Severity:  normal        |    Keywords:  has-patch commit
--------------------------+-------------------------------------------------

Comment(by dd32):

 (In [13546]) use __return_false in preference to create_function(..return
 true..). Props TobiasBg. See #12435

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


More information about the wp-trac mailing list