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

WordPress Trac noreply at wordpress.org
Thu Oct 25 20:52:52 UTC 2012


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

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


Comment:

 In [22304]:
 {{{
 #!CommitTicketReference repository="" revision="22304"
 When replacing floats in wpdb::prepare(), avoid escaped placeholders
 (%%f). props SergeyBiryukov. fixes #19861.
 }}}

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


More information about the wp-trac mailing list