Make WordPress Core

Ticket #34424: load.diff

File load.diff, 453 bytes (added by NExt-Season, 9 years ago)
  • load.php

     
    248248        $timeend = microtime( true );
    249249        $timetotal = $timeend - $timestart;
    250250        $r = ( function_exists( 'number_format_i18n' ) ) ? number_format_i18n( $timetotal, $precision ) : number_format( $timetotal, $precision );
    251         if ( $display )
     251        if ( $display ) {
    252252                echo $r;
     253                } else {
    253254        return $r;
    254255}
    255256