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

WordPress Trac noreply at wordpress.org
Mon Nov 18 14:20:51 UTC 2019


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

 * keywords:  needs-patch => has-patch


Comment:

 Patch added. Wording is tricky since this is (as above :) a confusing
 distinction between PHP timezone settings and WordPress timezone settings.

 I chose to specifically ''not'' show valid and invalid values, so that
 user is not confused about needing to go into their ''WordPress'' settings
 and do something there. Instead I specifically pointed out
 `date_default_timezone_set()` function call as the problem.

 Not sure about guidance on badge color, set it to red on failure since
 stuff is prettty critical right about now, for people who have this
 broken.

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


More information about the wp-trac mailing list