[wp-trac] [WordPress Trac] #35893: number_format_i18n() inline documentation wrongly identifies first param as int
WordPress Trac
noreply at wordpress.org
Sat Feb 20 21:39:34 UTC 2016
#35893: number_format_i18n() inline documentation wrongly identifies first param as
int
--------------------------+-----------------------------
Reporter: salcode | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: trunk
Severity: normal | Keywords:
Focuses: docs |
--------------------------+-----------------------------
The first parameter of function `number_format_i18n()` is erroneously
identified as an `int` in the inline documentation.
Inside `number_format_i18n()` the value is passed to the PHP native
function `number_format()` which takes a `float` as the first parameter
(see http://php.net/manual/en/function.number-format.php).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35893>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list