From fdfbca6ca67d6da56fb8e4c4b0445cfa033af95b Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Fri, 28 Feb 2014 22:17:06 +0000 Subject: [PATCH] Correct the inline docs for `timer_stop()`. Fixes #26874. Props jackreichert git-svn-id: https://develop.svn.wordpress.org/trunk@27332 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/load.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/load.php b/src/wp-includes/load.php index 48cd487873..b23f844428 100644 --- a/src/wp-includes/load.php +++ b/src/wp-includes/load.php @@ -217,7 +217,7 @@ function timer_start() { * * @param int $display Use '0' or null to not echo anything and 1 to echo the total time * @param int $precision The amount of digits from the right of the decimal to display. Default is 3. - * @return float The "second.microsecond" finished time calculation + * @return string The "second.microsecond" finished time calculation. The number is formatted for human consumption, it is both localized and rounded. */ function timer_stop( $display = 0, $precision = 3 ) { // if called like timer_stop(1), will echo $timetotal global $timestart, $timeend;