Make WordPress Core

Opened 17 years ago

Closed 17 years ago

Last modified 16 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:
Priority: normal Milestone:
Component: Multisite Version: 3.0
Severity: critical Keywords:
Cc: Focuses:

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

  • Resolutionduplicate
  • Status newclosed

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

#3 @nacin
16 years ago

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