[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 00:19:51 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 steevithak):

 I've attached a screenshot of my admin "all posts" page with the mouse
 pointer over the "view" link for a blog post that exhibits the problem. In
 the pictured case, the actual permalink is "2019/09/29" and the date shown
 in the date column is also 2019/09/29. But the URL (see circled area at
 bottom of browser) in the "view" link uses 2019/09/30, which is incorrect
 and generates a 404 error if you click it.

 This demonstrates that the algorithm used to parse the post date for
 get_permalink() is inconsistent with the (correct) algorithm used to
 display the post date.

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


More information about the wp-trac mailing list