[wp-trac] [WordPress Trac] #31704: Same alias for post and page
WordPress Trac
noreply at wordpress.org
Fri Mar 20 12:54:54 UTC 2015
#31704: Same alias for post and page
--------------------------+------------------------------
Reporter: syamvilakudy | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Permalinks | Version: 4.1
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Changes (by boonebgorges):
* version: 4.1.1 => 4.1
Comment:
Introduced in [30158]. See #18962. References from that ticket to this
issue are at https://core.trac.wordpress.org/ticket/18962#comment:2,
https://core.trac.wordpress.org/ticket/18962#comment:32.
IMO we could do a smidgen more to protect against these cases. Like, what
if `wp_unique_post_slug()` disallowed page/post slug conflicts if
permalink_structure is `/%postname%/`? That wouldn't account for people
who create conflicting slugs under one permastruct and then switch to
another, but it would probably cover most cases like this.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31704#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list