WordPress.org

Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 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:

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)

comment:1 wpmuguru4 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.

comment:2 wpmuguru4 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.

comment:3 nacin4 years ago

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