WordPress.org

Make WordPress Core

Changeset 13436


Ignore:
Timestamp:
02/26/10 19:09:29 (8 years ago)
Author:
nacin
Message:

One less variable assignment in timer_start and timer_start. props hakre fixes #12389

File:
1 edited

Legend:

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

    r13425 r13436  
    180180    global $timestart; 
    181181    $mtime = explode( ' ', microtime() ); 
    182     $mtime = $mtime[1] + $mtime[0]; 
    183     $timestart = $mtime; 
     182    $timestart = $mtime[1] + $mtime[0]; 
    184183    return true; 
    185184} 
     
    212211    global $timestart, $timeend; 
    213212    $mtime = microtime(); 
    214     $mtime = explode( ' ',$mtime ); 
    215     $mtime = $mtime[1] + $mtime[0]; 
    216     $timeend = $mtime; 
    217     $timetotal = $timeend-$timestart; 
     213    $mtime = explode( ' ', $mtime ); 
     214    $timeend = $mtime[1] + $mtime[0]; 
     215    $timetotal = $timeend - $timestart; 
    218216    $r = ( function_exists( 'number_format_i18n' ) ) ? number_format_i18n( $timetotal, $precision ) : number_format( $timetotal, $precision ); 
    219217    if ( $display ) 
Note: See TracChangeset for help on using the changeset viewer.