Changeset 13436
- Timestamp:
- 02/26/2010 07:09:29 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/load.php
r13425 r13436 180 180 global $timestart; 181 181 $mtime = explode( ' ', microtime() ); 182 $mtime = $mtime[1] + $mtime[0]; 183 $timestart = $mtime; 182 $timestart = $mtime[1] + $mtime[0]; 184 183 return true; 185 184 } … … 212 211 global $timestart, $timeend; 213 212 $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; 218 216 $r = ( function_exists( 'number_format_i18n' ) ) ? number_format_i18n( $timetotal, $precision ) : number_format( $timetotal, $precision ); 219 217 if ( $display )
Note: See TracChangeset
for help on using the changeset viewer.