[wp-trac] [WordPress Trac] #16832: Trouble if the slug of a custom taxonomy is the same as the url of page/post

WordPress Trac wp-trac at lists.automattic.com
Fri Mar 11 12:23:49 UTC 2011


#16832: Trouble if the slug of a custom taxonomy is the same as the url of
page/post
---------------------------+------------------------------
 Reporter:  LucasHantz     |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Rewrite Rules  |     Version:  3.1
 Severity:  normal         |  Resolution:
 Keywords:  needs-patch    |
---------------------------+------------------------------
Changes (by scribu):

 * keywords:   => needs-patch


Comment:

 You can use the 'wp_unique_post_slug_is_bad_flat_slug' filter to prevent
 collisions.

 WP should handle that case automatically, though.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16832#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list