[wp-trac] [WordPress Trac] #32954: "View post" link should not change when sample permalink changes

WordPress Trac noreply at wordpress.org
Thu Jul 9 22:29:17 UTC 2015


#32954: "View post" link should not change when sample permalink changes
-------------------------------+-----------------------------
 Reporter:  johnbillion        |      Owner:
     Type:  defect (bug)       |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Posts, Post Types  |    Version:  4.2
 Severity:  normal             |   Keywords:  needs-patch
  Focuses:  administration     |
-------------------------------+-----------------------------
 This is a follow-up to #16477 which was fixed in 3.9 but has re-appeared.

 To reproduce:

 - Go to edit a post
 - Change the permalink
 - Click on "View post" and you get a 404 because the href has been changed
 to the new sample permalink but the post hasn't been updated yet

 The "View post" link should always point to the permalink of the currently
 saved post.

 r27508 was the initial fix. Need to find out where the regression
 occurred.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32954>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list