[wp-trac] [WordPress Trac] #15359: Post or page (even in Trash) can break listing of category with same slug name

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 9 13:03:31 UTC 2010


#15359: Post or page (even in Trash) can break listing of category with same slug
name
--------------------------+-------------------------------------------------
 Reporter:  jorisw        |       Owner:                 
     Type:  defect (bug)  |      Status:  new            
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:                 
 Severity:  normal        |    Keywords:                 
--------------------------+-------------------------------------------------
 If a post or page exists with for example slug name "blog", and
 WordPress's permalinks are set to /%category%/%postname%/ , the post or
 page will break the listing page of a category named blog.

 While this may seem unusual and wrong to do anyway, this persists when the
 post or page is put in the trash.

 A post or page in the trash with slug name 'blog' will stop /blog/ from
 showing a category named blog. It will show a WordPress style 404,
 probably it tries to access the trashed post / page instead of going for
 the category listing.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15359>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list