[wp-trac] [WordPress Trac] #37925: permalink not updating after editing slug, on post edit admin page

WordPress Trac noreply at wordpress.org
Fri Sep 2 20:23:17 UTC 2016


#37925: permalink not updating after editing slug, on post edit admin page
--------------------------+-----------------------------
 Reporter:  stevepuddick  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Permalinks    |    Version:  4.6
 Severity:  normal        |   Keywords:
  Focuses:  javascript    |
--------------------------+-----------------------------
 When editing an existing permalink on a post edit page, the link itself
 does not update until the post is updated (save draft, or update is
 clicked). However, the text for the permalink is immediately updated. It
 is expected that the permalink will also be updated to the new value and
 not just the permalink text. This bug can be recreated as follows:

 1) click the 'edit' button on any post edit screen (on any custom post
 type that supports permalinks)
 2) edit the slug to have an alternate value
 3) click on the anchor text next to the 'edit' button. This will bring you
 to a 404 page since that old link is no longer correct

 Refer to this screenshot for more info:

 [[Image(http://webrockstar.net/wp-permalink-bug.png)]]

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


More information about the wp-trac mailing list