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

WordPress Trac noreply at wordpress.org
Fri May 24 14:25:27 UTC 2013


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

Comment (by SergeyBiryukov):

 Replying to [comment:13 mboynes]:
 > Can someone please explain why `wp_unique_post_slug` works the way it
 does with regards to hierarchical custom post types versus non-
 hierarchical custom post types?

 Introduced in [11125] as a fix for page/attachment slug conflicts in
 #6437.

 [21845] (#15665) was a more recent fix. Perhaps [11125] can be reverted
 now.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/18962#comment:14>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list