[wp-trac] [WordPress Trac] #11608: wpdb->prepare() is broken

WordPress Trac wp-trac at lists.automattic.com
Fri Dec 25 17:05:20 UTC 2009


#11608: wpdb->prepare() is broken
--------------------------+-------------------------------------------------
 Reporter:  hakre         |       Owner:  ryan                  
     Type:  defect (bug)  |      Status:  new                   
 Priority:  normal        |   Milestone:  3.0                   
Component:  Database      |     Version:  2.9                   
 Severity:  normal        |    Keywords:  has-patch dev-feedback
--------------------------+-------------------------------------------------

Comment(by hakre):

 ''corrected :''''''''

 Just tested  11608.2.diff, it still fails on it's own defintion:

 {{{ %%%s }}}

 which should expand to

 {{{ %'string value' }}}

 does not work. you can not use regex to parse for the format tokens, looks
 broken to me.

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


More information about the wp-trac mailing list