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

WordPress Trac wp-trac at lists.automattic.com
Sat Dec 26 04:30:49 UTC 2009


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

  * type:  defect (bug) => enhancement


Comment:

 Yes, the ones patched should be good. Here are the files that use strpos +
 strtolower included in the patch:

 admin-ajax.php
 wp-admin/includes/media.php
 wp-admin/includes/class-wp-filesystem-ftpext.php
 wp-includes/general-template.php
 wp-includes/vars.php

 Omitted from patch:
 wp-admin/load-scripts.php
 wp-admin/load-styles.php
 wp-includes/js/tinymce/wp-tinymce.php
 wp-includes/js/tinymce/plugins/spellchecker/classes/utils/Logger.php

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


More information about the wp-trac mailing list