[wp-trac] [WordPress Trac] #13459: Conflict between post and page slugs/permalinks when permalink setting is set to /%postname%/

WordPress Trac noreply at wordpress.org
Tue Dec 8 04:05:19 UTC 2015


#13459: Conflict between post and page slugs/permalinks when permalink setting is
set to /%postname%/
--------------------------+-----------------------------
 Reporter:  jamescollins  |       Owner:  SergeyBiryukov
     Type:  defect (bug)  |      Status:  reviewing
 Priority:  normal        |   Milestone:  Future Release
Component:  Permalinks    |     Version:  2.9.2
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------

Comment (by ericlewis):

 In attachment:13459.4.diff

 * Moved the tests to `wpUniquePostSlug.php`
 * Added tests for post slug/attachment slug collisions. A post slug can't
 collide with an attachment slug when the permalink structures are the
 same, but they can collide when the permalink structures are different.

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


More information about the wp-trac mailing list