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

WordPress Trac noreply at wordpress.org
Mon May 4 17:28:56 UTC 2020


#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 Rarst):

 We can't really `_doing_it_wrong()` at the right moment since
 `date_default_timezone_set()` is upstream function call.

 Checking that system is in an invalid state, rather than system being
 ''put'' into invalid state, doesn't seem like normal `_doing_it_wrong()`
 usage. Site Health seemed like a better fit.

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


More information about the wp-trac mailing list