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

WordPress Trac noreply at wordpress.org
Mon Dec 17 21:33:27 UTC 2018


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

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 As noted above, the check for `attachment` post type was intentionally
 added to `wp_unique_post_slug()` in [30629] to avoid creating a page with
 a slug which conflicts with an existing attachment.

 The proposed change would introduce a regression. Thanks for the patch
 though!

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


More information about the wp-trac mailing list