Docs: Correct `$number` type in `number_format_i18n()`.

Props salcode.
Fixes #35893.
Built from https://develop.svn.wordpress.org/trunk@36644


git-svn-id: http://core.svn.wordpress.org/trunk@36611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2016-02-23 18:44:26 +00:00
parent aa2db425d8
commit 613cd1b020
2 changed files with 4 additions and 4 deletions

View File

@ -205,14 +205,14 @@ function wp_maybe_decline_date( $date ) {
}
/**
* Convert integer number to format based on the locale.
* Convert float number to format based on the locale.
*
* @since 2.3.0
*
* @global WP_Locale $wp_locale
*
* @param int $number The number to convert based on locale.
* @param int $decimals Optional. Precision of the number of decimal places. Default 0.
* @param float $number The number to convert based on locale.
* @param int $decimals Optional. Precision of the number of decimal places. Default 0.
* @return string Converted number in string format.
*/
function number_format_i18n( $number, $decimals = 0 ) {

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.5-alpha-36643';
$wp_version = '4.5-alpha-36644';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.