Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 15 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's profile Denis-de-Bernardy Owned by:
Milestone: Priority: normal
Severity: critical Version: 3.0
Component: Multisite Keywords:
Focuses: Cc:

Description

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
15 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
15 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
15 years ago

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