[wp-trac] [WordPress Trac] #11766: avoid_blog_page_permalink_collision() should also check for attachments and custom post types

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 6 17:39:16 UTC 2010


#11766: avoid_blog_page_permalink_collision() should also check for attachments and
custom post types
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:     
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  3.0
Component:  Multisite          |     Version:  3.0
 Severity:  critical           |    Keywords:     
-------------------------------+--------------------------------------------
 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11766>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list