[wp-trac] [WordPress Trac] #48692: Add PHP time zone check to Site Health
WordPress Trac
noreply at wordpress.org
Thu Nov 28 15:55:50 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:
-------------------------+-----------------------------
Comment (by SergeyBiryukov):
In [changeset:"46798" 46798]:
{{{
#!CommitTicketReference repository="" revision="46798"
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.
Merges [46797] to the 5.3 branch.
Fixes #48692.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48692#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list