[wp-trac] [WordPress Trac] #48623: WP 5.3 time problem causes day number shifts in permalinks
WordPress Trac
noreply at wordpress.org
Thu Nov 28 13:40:30 UTC 2019
#48623: WP 5.3 time problem causes day number shifts in permalinks
--------------------------------------+-----------------------------
Reporter: steevithak | Owner: SergeyBiryukov
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.3.1
Component: Date/Time | Version: 5.3
Severity: critical | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+-----------------------------
Changes (by SergeyBiryukov):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"46795" 46795]:
{{{
#!CommitTicketReference repository="" revision="46795"
Date/Time: Make `get_permalink()` more resilient against PHP timezone
changes.
Overriding default PHP timezone with `date_default_timezone_set()`, while
not recommended, should not inadvertently result in changing existing
permalinks.
Add a unit test.
Props Rarst, steevithak, archon810, maciejmackowiak, Ov3rfly, Cybr,
hometowntrailers, scvleon, miette49.
Fixes #48623.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48623#comment:40>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list