[wp-trac] [WordPress Trac] #19861: $wpdb->prepare() fails with localized floats

WordPress Trac wp-trac at lists.automattic.com
Thu Jul 26 04:13:35 UTC 2012


#19861: $wpdb->prepare() fails with localized floats
--------------------------+-----------------------
 Reporter:  laotse        |       Owner:  nacin
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  3.5
Component:  Database      |     Version:  3.3.1
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+-----------------------
Changes (by nacin):

 * status:  closed => reopened
 * resolution:  fixed =>


Comment:

 Could a query string with "%f" -- not meant as a float replacement -- be
 broken in this regard? Should we do a lookbehind like the line after it to
 make sure we're not dealing with an escaped %%f?

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


More information about the wp-trac mailing list