[wp-trac] [WordPress Trac] #18962: Allow duplicate slugs for different content

WordPress Trac noreply at wordpress.org
Tue Jul 22 16:36:19 UTC 2014

#18962: Allow duplicate slugs for different content
 Reporter:  maorb                                |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Future
Component:  Rewrite Rules                        |  Release
 Severity:  normal                               |     Version:
 Keywords:  needs-unit-tests has-patch needs-    |  Resolution:
  testing                                        |     Focuses:

Comment (by jpswade):

 The problem:

 1. Add new media called "banana.jpg", the slug is "banana".
 2. Add new post with the tag "banana".
 3. Add "banana" to the "fruit" Custom Post Type.

 The result:

 The media has a slug called "banana".
 The tag has the slug "banana-2".
 The fruit Custom Post Type has a slug of "banana-3".

 I've read other feedback which says that "Link categories", posts and
 pages can all conflict too...

 What we need to know is: Does the patch resolve this?

Ticket URL: <https://core.trac.wordpress.org/ticket/18962#comment:27>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list