[wp-trac] [WordPress Trac] #48623: WP 5.3 time problem causes day number shifts in permalinks
WordPress Trac
noreply at wordpress.org
Fri Nov 15 06:02:47 UTC 2019
#48623: WP 5.3 time problem causes day number shifts in permalinks
--------------------------+---------------------
Reporter: steevithak | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.3.1
Component: Date/Time | Version: 5.3
Severity: major | Resolution:
Keywords: | Focuses:
--------------------------+---------------------
Comment (by Rarst):
@steevithak
> In answer to @archon810, I found this in the themes functions.php:
> date_default_timezone_set("America/Chicago")
Yep, likely same thing. Please try dropping any and all
`date_default_timezone_set()` calls (not counting WordPress core boot
itself).
I will look into patching `get_permalink()` to be more resilient about
this (we are slowly doing this through the whole core), but in general
changing PHP time zone in WP breaks things and isn't normal mode of
operation.
@archon810 are you good now?
@maciejmackowiak could you please check for same issue, any
`date_default_timezone_set()` in your code?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48623#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list