[wp-trac] [WordPress Trac] #39595: date_default_timezone_set in wp-settings.php is set prematurely and ignorantly, regardless of other defined settings

WordPress Trac noreply at wordpress.org
Tue Apr 16 23:59:07 UTC 2019


#39595: date_default_timezone_set in wp-settings.php is set prematurely and
ignorantly, regardless of other defined settings
-------------------------------+----------------------
 Reporter:  mkormendy          |       Owner:  (none)
     Type:  enhancement        |      Status:  closed
 Priority:  normal             |   Milestone:
Component:  Date/Time          |     Version:  4.7.1
 Severity:  minor              |  Resolution:  wontfix
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+----------------------

Comment (by Otto42):

 I think this ticket is eligible to be reopened as an enhancement, if
 somebody decides to give it a go. It's a big project, but the speed
 benefits are indeed worthwhile, and just adding the unit testing is
 valuable.

 When I wrote the timezone code originally, it was a hack to support PHP 5
 when PHP 4 was still around. This is a reasonable thing to tackle
 nowadays. We're moving on to PHP 7.

 We can do this, it's just a lot of effort to do it right.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/39595#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list