[wp-trac] Re: [WordPress Trac] #6211: new terms created with a slug
already in db will inherit title of existing term in db even if is
different taxomony.
WordPress Trac
wp-trac at lists.automattic.com
Fri Mar 14 04:26:30 GMT 2008
#6211: new terms created with a slug already in db will inherit title of existing
term in db even if is different taxomony.
----------------------------+-----------------------------------------------
Reporter: nerrad | Owner: anonymous
Type: defect | Status: new
Priority: high | Milestone: 2.5
Component: Administration | Version: 2.5
Severity: blocker | Resolution:
Keywords: needs-patch |
----------------------------+-----------------------------------------------
Comment (by nerrad):
Looks like this can't be fixed because the current db schema slugs have a
UNIQUE key in the _terms table. I can understand wanting to make sure
that there are unique slugs per taxonomy but isn't it overkill to have
unique slugs across all taxonomies?
I understand the necessity for unique slugs with posts but the current
default permalink structure would allow for like slugs in different
taxonomies.
I propose that the SLUG field in the _terms table not be UNIQUE and the
suggested attached patch be applied to allow identical slugs in
''different'' taxonomies
--
Ticket URL: <http://trac.wordpress.org/ticket/6211#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list