WordPress.org

Make WordPress Core

Ticket #4994: 4994.diff

File 4994.diff, 487 bytes (added by Nazgul, 11 years ago)
  • wp-settings.php

     
    261261
    262262do_action('sanitize_comment_cookies');
    263263
     264if ( version_compare( '5.1', phpversion(), '<=' ) && empty( ini_get('date.timezone') ) && FALSE === getenv('TZ') ) {
     265        date_timezone_set('UTC');       
     266}
     267
    264268$wp_the_query =& new WP_Query();
    265269$wp_query     =& $wp_the_query;
    266270$wp_rewrite   =& new WP_Rewrite();