[wp-trac] Re: [WordPress Trac] #5326: Don't use sanitize_title in widgets API

WordPress Trac wp-trac at lists.automattic.com
Wed Nov 7 17:06:57 GMT 2007


#5326: Don't use sanitize_title in widgets API
-------------------------+--------------------------------------------------
 Reporter:  ryan         |        Owner:  anonymous
     Type:  defect       |       Status:  new      
 Priority:  normal       |    Milestone:  2.4      
Component:  General      |      Version:  2.4      
 Severity:  normal       |   Resolution:           
 Keywords:  performance  |  
-------------------------+--------------------------------------------------
Comment (by ryan):

 This patch reduced the number of calls to sanitize_title() from 103 to 2
 on my testbed.  The amount of time spent in sanitize_title() dropped from
 almost 10% to a fraction of a percent.

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


More information about the wp-trac mailing list