[wp-trac] [WordPress Trac] #16941: Editing term overwriting term with same name in another taxonomy

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 23 01:41:45 UTC 2011


#16941: Editing term overwriting term with same name in another taxonomy
--------------------------+-----------------------------
 Reporter:  hsatterwhite  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Taxonomy      |    Version:  3.1
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 I registered two custom taxonomies, City and County, and then created new
 terms for each. Creating new terms with identical names in both taxonomies
 is successful, but if you try to edit the name or slug of the term in one
 taxonomy it is overwriting the information entered for the term with the
 identical name in the other taxonomy.

 Steps to reproduce:
 1. Register City and County as custom taxonomies
 2. Add a term using just the name field to the City taxonomy
 3. Add a term with the same name using just the name field to the County
 taxonomy
 4. Edit the name or slug in the County taxonomy
 5. Check the term entry of the same name in the City taxonomy
 6. The term of the same name in the other taxonomy has been changed.

 I've tried this using posts and custom post types and I've found that if
 you add a term of the same name, but define a custom slug, it will add the
 term and this does not happen. Also deleting a term from one of the
 taxonomies does not delete the term of the same name from the other
 taxonomy.

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


More information about the wp-trac mailing list