[wp-trac] Re: [WordPress Trac] #5424: wpdb: use function_exists() instead of slower version_compare()

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 6 06:32:42 GMT 2007


#5424: wpdb: use function_exists() instead of slower version_compare()
--------------------------+-------------------------------------------------
 Reporter:  DD32          |        Owner:  anonymous
     Type:  defect        |       Status:  new      
 Priority:  normal        |    Milestone:  2.4      
Component:  Optimization  |      Version:  2.4      
 Severity:  normal        |   Resolution:           
 Keywords:  has-patch     |  
--------------------------+-------------------------------------------------
Comment (by ryan):

 That code isn't even be running since we return on the line before. But,
 yes, function_exists is better for such things.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5424#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list