[wp-trac] Re: [WordPress Trac] #5624: Calls to preg_replace() after preg_match() in functions.php may be unnecessary

WordPress Trac wp-trac at lists.automattic.com
Sat Feb 9 02:17:22 GMT 2008


#5624: Calls to preg_replace() after preg_match() in functions.php may be
unnecessary
--------------------------+-------------------------------------------------
 Reporter:  bernzilla     |        Owner:  josephscott
     Type:  enhancement   |       Status:  new        
 Priority:  normal        |    Milestone:  2.6        
Component:  Optimization  |      Version:             
 Severity:  minor         |   Resolution:             
 Keywords:                |  
--------------------------+-------------------------------------------------
Comment (by DD32):

 +1, even using str_replace() would make more sense in this particular case
 if theres a reason the preg_match() submatches cant be relied upon.

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


More information about the wp-trac mailing list