avoid_blog_page_permalink_collision() should also check for attachments and custom post types
|Reported by:||Denis-de-Bernardy||Owned by:|
avoid_blog_page_permalink_collision() only checks for collisions with static pages.
to avoid further potential collisions, it should add an additional filter, to start with. and it should also try:
- attachments in the event the main blog uses the /%postname%/ structure.
- categories, tags, etc in the event a plugin strips their respective stubs
- anything that is not a post, page, attachment or revision, and which has no parent.
Change History (3)
Note: See TracTickets for help on using tickets.