[wp-trac] [WordPress Trac] #11176: Convert strpos/strtolower to stripos

WordPress Trac wp-trac at lists.automattic.com
Wed Nov 18 21:17:16 UTC 2009


#11176: Convert strpos/strtolower to stripos
--------------------------+-------------------------------------------------
 Reporter:  nacin         |       Owner:                
     Type:  defect (bug)  |      Status:  new           
 Priority:  normal        |   Milestone:  Future Release
Component:  Performance   |     Version:  2.9           
 Severity:  normal        |    Keywords:                
--------------------------+-------------------------------------------------
 A quick grep shows the core using 18 instances of strpos and
 strto(low|upp)er in tandem. Most if not all can be converted to stripos.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11176>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list