Make WordPress Core


Ignore:
Timestamp:
04/22/2010 09:39:37 PM (14 years ago)
Author:
westi
Message:

Restore support for floating point numbers in number_format_i18n(). Fixes #10555.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/load.php

    r14184 r14190  
    220220    $timeend = $mtime[1] + $mtime[0];
    221221    $timetotal = $timeend - $timestart;
    222     $r = number_format( $timetotal, $precision );
     222    $r = ( function_exists( 'number_format_i18n' ) ) ? number_format_i18n( $timetotal, $precision ) : number_format( $timetotal, $precision );
    223223    if ( $display )
    224224        echo $r;
Note: See TracChangeset for help on using the changeset viewer.