diff options
author | Sergey Biryukov <sergeybiryukov@git.wordpress.org> | 2019-11-28 15:46:45 +0000 |
---|---|---|
committer | Sergey Biryukov <sergeybiryukov@git.wordpress.org> | 2019-11-28 15:46:45 +0000 |
commit | 4b60e6a0db3e47ec018a8d9900e48cf7e70e0866 (patch) | |
tree | f755938d3d4d043b600aeda2624991001d3b6893 /src/js/_enqueues/admin/custom-background.js | |
parent | e720a9ddc7ff7738584dc031e56727040dca0248 (diff) | |
download | wordpress-4b60e6a0db3e47ec018a8d9900e48cf7e70e0866.tar.gz wordpress-4b60e6a0db3e47ec018a8d9900e48cf7e70e0866.zip |
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.
git-svn-id: https://develop.svn.wordpress.org/trunk@46797 602fd350-edb4-49c9-b593-d223f7449a82
Diffstat (limited to 'src/js/_enqueues/admin/custom-background.js')
0 files changed, 0 insertions, 0 deletions