WordPress.org

Make WordPress Core

Ticket #20501: 20501.diff

File 20501.diff, 518 bytes (added by GaryJ, 6 years ago)
  • wp-settings.php

     
    3232@ini_set( 'magic_quotes_runtime', 0 );
    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// Set default timezone.
     36date_default_timezone_set( 'UTC' );
    3837
    3938// Turn register_globals off.
    4039wp_unregister_GLOBALS();