Make WordPress Core

Timestamp:
08/30/2018 12:12:55 PM (7 years ago)
Author:
SergeyBiryukov
Message:

Date/Time: Make sure current_time() always calculates the offset from GMT/UTC.

Previously, UTC context was implied, but could be unreliable due to being affected by plugins.

Props Rarst, rahulsprajapati, marco.marsala.
Fixes #37440.

File:
1 added

Note: See TracChangeset for help on using the changeset viewer.