[wp-trac] [WordPress Trac] #43001: Page Slug and Attachment - Conflict

WordPress Trac noreply at wordpress.org
Fri Dec 29 21:26:30 UTC 2017


#43001: Page Slug and Attachment - Conflict
-------------------------------+------------------------------
 Reporter:  sebastian.pisula   |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  trunk
 Severity:  normal             |  Resolution:
 Keywords:  has-patch          |     Focuses:
-------------------------------+------------------------------

Comment (by swissspidy):

 Note that media items which aren't attached to a post can be accessed via
 `example.com/my-attachment-slug/`, hence this check within
 `wp_unique_post_slug()`. Your patch would break that behaviour.

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


More information about the wp-trac mailing list