[wp-trac] [WordPress Trac] #48692: Add PHP time zone check to Site Health

WordPress Trac noreply at wordpress.org
Thu Nov 28 15:46:56 UTC 2019


#48692: Add PHP time zone check to Site Health
-------------------------+-----------------------------
 Reporter:  Rarst        |       Owner:  SergeyBiryukov
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  5.3.1
Component:  Site Health  |     Version:  5.3
 Severity:  normal       |  Resolution:  fixed
 Keywords:  has-patch    |     Focuses:
-------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"46797" 46797]:
 {{{
 #!CommitTicketReference repository="" revision="46797"
 Site Health: Add a test for PHP default timezone.

 The test reports a failure if the default timezone was changed with
 `date_default_timezone_set()` to anything other than `UTC`.

 WordPress historically uses `UTC` as the default timezone for calculating
 date and time offsets, overriding it is not recommended and can cause
 widespread and obscure issues.

 Props Rarst, Clorith, TimothyBlynJacobs.
 Fixes #48692.
 }}}

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


More information about the wp-trac mailing list