WordPress.org

Make WordPress Core

Changeset 21544


Ignore:
Timestamp:
08/17/12 23:40:09 (20 months ago)
Author:
nacin
Message:

We no longer need to check function_exists() for date_default_timezone_set(). props Gary-J, j-idris. fixes #20501.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-settings.php

    r21485 r21544  
    3333@ini_set( 'magic_quotes_sybase',  0 ); 
    3434 
    35 // Set default timezone in PHP 5. 
    36 if ( function_exists( 'date_default_timezone_set' ) ) 
    37     date_default_timezone_set( 'UTC' ); 
     35// WordPress calculates offsets from UTC. 
     36date_default_timezone_set( 'UTC' ); 
    3837 
    3938// Turn register_globals off. 
Note: See TracChangeset for help on using the changeset viewer.