Make WordPress Core

Changeset 1734 for trunk/wp-settings.php


Ignore:
Timestamp:
10/04/2004 08:03:52 AM (20 years ago)
Author:
saxmatt
Message:

Code cleanup and some fixes from the WP Japan folks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r1712 r1734  
    1010    die( 'Your server is running PHP version ' . phpversion() . ' but WordPress requires at least 4.1' );
    1111
     12function timer_start() {
     13    global $timestart;
     14    $mtime = explode(' ', microtime() );
     15    $mtime = $mtime[1] + $mtime[0];
     16    $timestart = $mtime;
     17    return true;
     18}
     19timer_start();
    1220
    1321// Change to E_ALL for development/debugging
     
    4149
    4250require (ABSPATH . WPINC . '/functions.php');
    43 timer_start();
    4451require (ABSPATH . WPINC . '/functions-formatting.php');
    4552require (ABSPATH . WPINC . '/functions-user.php');
Note: See TracChangeset for help on using the changeset viewer.