Remove unnecessary translations of decimal point character and number of decimal places. Fixes #10555 props nbachiyski.

git-svn-id: https://develop.svn.wordpress.org/trunk@14184 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood
2010-04-21 21:41:20 +00:00
parent 3479e68ff8
commit 00b53270ca
4 changed files with 12 additions and 24 deletions

View File

@@ -219,7 +219,7 @@ function timer_stop( $display = 0, $precision = 3 ) { // if called like timer_st
$mtime = explode( ' ', $mtime );
$timeend = $mtime[1] + $mtime[0];
$timetotal = $timeend - $timestart;
$r = ( function_exists( 'number_format_i18n' ) ) ? number_format_i18n( $timetotal, $precision ) : number_format( $timetotal, $precision );
$r = number_format( $timetotal, $precision );
if ( $display )
echo $r;
return $r;