[wp-trac] [WordPress Trac] #18407: WPDB Prepare(), update(), insert() refer to %d as a decimal

WordPress Trac wp-trac at lists.automattic.com
Mon Aug 22 17:09:33 UTC 2011


#18407: WPDB Prepare(), update(), insert() refer to %d as a decimal
--------------------------+------------------
 Reporter:  dd32          |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.3
Component:  Inline Docs   |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------
Changes (by dllh):

 * cc: daryl@… (added)
 * keywords:  needs-patch => has-patch


Comment:

 I've attached three files. One is a little plugin that makes it easy to
 test insertion of floats using the %f specifier. Another is graphic
 display of some values I tested (positive, negative, alphabetical, 0, and
 incorrect precision). The last is a patch that would update the phpdoc in
 wp-db.php should my testing prove of value.

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


More information about the wp-trac mailing list