[wp-trac] [WordPress Trac] #12942: Change str_replace to preg_replace for $wpdb->prepare function

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 10 23:08:02 UTC 2010


#12942: Change str_replace to preg_replace for $wpdb->prepare function
----------------------------------------+-----------------------------------
 Reporter:  gplaurin                    |        Owner:         
     Type:  defect (bug)                |       Status:  closed 
 Priority:  normal                      |    Milestone:         
Component:  General                     |      Version:  2.9.2  
 Severity:  normal                      |   Resolution:  wontfix
 Keywords:  database, prepare, sprintf  |  
----------------------------------------+-----------------------------------

Comment(by hakre):

 This is more or less a duplicate of #11608 or let's say, that ticket
 provides code that removes vsprintf / sprintf from prepare and implements
 its own parser so that such problems as this one are not an issue.

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


More information about the wp-trac mailing list