WordPress.org

Make WordPress Core

Ticket #9588: 9588.22.diff

File 9588.22.diff, 448 bytes (added by ryan, 5 years ago)

Always use UTC as the default timezone.

  • wp-includes/functions.php

     
    33973397                return false; 
    33983398        } 
    33993399 
    3400         @date_default_timezone_set( $timezone_string ); 
    34013400        $timezone_object = timezone_open( $timezone_string ); 
    34023401        $datetime_object = date_create(); 
    34033402        if ( false === $timezone_object || false === $datetime_object ) {