[wp-trac] [WordPress Trac] #35352: URL / Slug does not get updated when title is changed

WordPress Trac noreply at wordpress.org
Wed Mar 29 18:32:08 UTC 2017


#35352: URL / Slug does not get updated when title is changed
-------------------------------------+-----------------------------
 Reporter:  webifish                 |       Owner:
     Type:  defect (bug)             |      Status:  reopened
 Priority:  normal                   |   Milestone:
Component:  Permalinks               |     Version:  4.4.1
 Severity:  normal                   |  Resolution:
 Keywords:  reporter-feedback close  |     Focuses:  administration
-------------------------------------+-----------------------------

Comment (by lukecavanagh):

 @SergeyBiryukov

 I was able to find this method.

 http://wordpress.stackexchange.com/questions/135931/reslug-a-custom-post-
 type/136099#136099
 This updated version of
 https://wordpress.org/plugins/re-slug/
 https://gist.github.com/lukecav/b82ae8d6efdedfe7c6e256e1abfa7b89

 Works in WP 4.7.3 on local dev, so if you edit the post name, then hit the
 re-slug button next to Edit near the slug metabox, it will update the slug
 to match the post name before post save.

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


More information about the wp-trac mailing list