From 613cd1b0203abd23a8a96f7c798aba59ce902717 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 23 Feb 2016 18:44:26 +0000 Subject: [PATCH] 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 --- wp-includes/functions.php | 6 +++--- wp-includes/version.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index 5111b84dc1..bcd56f748d 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -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 ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index b270657ea9..df70e95e95 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -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.