[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:55:34 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 fixed-      |     Focuses:
  major                                          |
-------------------------------------------------+-------------------------
Changes (by SergeyBiryukov):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"46796" 46796]:
 {{{
 #!CommitTicketReference repository="" revision="46796"
 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.
 Merges [46795] to the 5.3 branch.
 Fixes #48623.
 }}}

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


More information about the wp-trac mailing list