From 50c240d4d01a5990b38a84d4f0993a43f7bdb525 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Fri, 28 Feb 2014 22:18:14 +0000 Subject: [PATCH] Correct the inline docs for `timer_stop()`. Fixes #26874. Props jackreichert Built from https://develop.svn.wordpress.org/trunk@27332 git-svn-id: http://core.svn.wordpress.org/trunk@27184 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/load.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/load.php b/wp-includes/load.php index 48cd487873..b23f844428 100644 --- a/wp-includes/load.php +++ b/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;