[wp-trac] Re: [WordPress Trac] #6211: allow identical taxonomy
slugs in different taxonomies
WordPress Trac
wp-trac at lists.automattic.com
Sat Mar 15 16:34:16 GMT 2008
#6211: allow identical taxonomy slugs in different taxonomies
-------------------------------------+--------------------------------------
Reporter: nerrad | Owner: anonymous
Type: defect | Status: new
Priority: high | Milestone: 2.6
Component: Administration | Version: 2.5
Severity: blocker | Resolution:
Keywords: has-patch needs-testing |
-------------------------------------+--------------------------------------
Comment (by nerrad):
Keep in mind when revisiting. This decision regarding taxonomies affects
not only category and tag intersections but also any future taxonomies
plugin authors create. To keep terms canonical between category and tags
is one thing but to force that on all future taxonomies might not be the
best route to take.
I suggest adding a new 'canonical' paramater to the $args variable that
defaults to true and running the current code. Plugin authors can set it
to "false" (when calling wp_insert_term to allow inserting a slug with the
same name as another taxomony for their taxonomy.
Of course this still requires dropping the index for slugs in the wp_terms
table.
--
Ticket URL: <http://trac.wordpress.org/ticket/6211#comment:8>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list