Make WordPress Core

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#11766 closed defect (bug) (duplicate)

avoid_blog_page_permalink_collision() should also check for attachments and custom post types

Reported by: Denis-de-Bernardy Owned by:
Milestone: Priority: normal
Severity: critical Version: 3.0
Component: Multisite Keywords:
Focuses: Cc:


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)

#1 @wpmuguru
12 years ago

If custom permalinks are using in MU folder install /blog is added to the beginning of the permalinks base (ex. /blog/%postname%/) on the main blog.

The only collision that would occur is with pages when default permalinks are used.

#2 @wpmuguru
12 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

This issue would become relevant if the /blog/ restriction in #12002 is addressed. Closing this as a duplicate.

#3 @nacin
12 years ago

  • Milestone 3.0 deleted
Note: See TracTickets for help on using tickets.