[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 15 02:01:27 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        |   Keywords:  needs-patch
--------------------------+-------------------------
 %d is refered to as a decimal in the inline docs for functions which use
 prepare().

 %d is also refered to as a decimal in the PHP docs as well, however, %d
 represents the input as a Integer, not a Decimal, resulting in the loss of
 the fraction part of the number.

 Mentioned by [http://lists.automattic.com/pipermail/wp-
 hackers/2011-August/040436.html 24/7 on wp-hackers]

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


More information about the wp-trac mailing list