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

WordPress Trac wp-trac at lists.automattic.com
Fri Dec 25 00:14:11 UTC 2009


#11608: wpdb->prepare() is broken
-----------------------------+----------------------------------------------
 Reporter:  hakre            |       Owner:  ryan                    
     Type:  feature request  |      Status:  new                     
 Priority:  normal           |   Milestone:  Future Release          
Component:  Database         |     Version:  2.9                     
 Severity:  normal           |    Keywords:  needs-patch dev-feedback
-----------------------------+----------------------------------------------

Comment(by dd32):

 OK, Now i get what your problem is.

 Would've been a LOT easier to just point out that %%s.. gets mangled by
 the parser, and as a result doesnt work as intended.

 > Woah, in what docs?
 The PHPDocs, specifically where it states it supports a subset of the
 sprintf function and to see its syntax for help.

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


More information about the wp-trac mailing list