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

WordPress Trac wp-trac at lists.automattic.com
Sun Feb 14 02:27:22 UTC 2010


#11176: Convert strpos/strtolower to stripos
-------------------------+--------------------------------------------------
 Reporter:  nacin        |        Owner:        
     Type:  enhancement  |       Status:  closed
 Priority:  lowest       |    Milestone:  3.0   
Component:  Performance  |      Version:  2.9   
 Severity:  trivial      |   Resolution:  fixed 
 Keywords:  has-patch    |  
-------------------------+--------------------------------------------------
Changes (by nacin):

  * status:  new => closed
  * resolution:  => fixed


Comment:

 (In [13132]) Use stripos() instead of strpos() with strtolower(). For PHP
 < 5 we have stripos() in compat.php. Fixes #11176

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


More information about the wp-trac mailing list