From 767c3538b9f4aa2684429a7efea8f7728034c754 Mon Sep 17 00:00:00 2001 From: donncha Date: Thu, 5 Oct 2006 17:45:26 +0000 Subject: WP Merge to rev 4347 git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@789 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-settings.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'wp-settings.php') diff --git a/wp-settings.php b/wp-settings.php index 2ec8823..0b5350d 100644 --- a/wp-settings.php +++ b/wp-settings.php @@ -75,9 +75,10 @@ function timer_stop($display = 0, $precision = 3) { //if called like timer_stop( $mtime = $mtime[1] + $mtime[0]; $timeend = $mtime; $timetotal = $timeend-$timestart; + $r = number_format($timetotal, $precision); if ( $display ) - echo number_format($timetotal,$precision); - return $timetotal; + echo $r; + return $r; } timer_start(); -- cgit