[wp-trac] [WordPress Trac] #11863: Trashed items interfere with page/post slug generation

WordPress Trac noreply at wordpress.org
Sun Dec 6 20:45:14 UTC 2015


#11863: Trashed items interfere with page/post slug generation
-----------------------------------------------+---------------------------
 Reporter:  Denis-de-Bernardy                  |       Owner:
     Type:  enhancement                        |      Status:  reopened
 Priority:  normal                             |   Milestone:  Future
Component:  Posts, Post Types                  |  Release
 Severity:  normal                             |     Version:  2.9
 Keywords:  needs-patch ux-feedback make-flow  |  Resolution:
                                               |     Focuses:
-----------------------------------------------+---------------------------

Comment (by ericlewis):

 Had a great, serendipitous chat with @coffee2code, @boonebgorges and
 @williamsba1 about this today at WordCamp US.

 We've decided to change course and base the implementation on
 @coffee2code's plugin [https://wordpress.org/plugins/no-slug-conflicts-
 with-trash/ No Slug Conflicts with Trash].

 A new post (e.g. "about") should take its desired slug. If a trashed post
 exists with the same slug, it should be modified in the same manner as
 wp_unique_post_slug() (e.g. renaming to "about-2"), while storing its
 previous slug "about". If the trashed post "about-2" is ever untrashed, it
 should try to assume its previous slug "about".

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


More information about the wp-trac mailing list