[wp-trac] [WordPress Trac] #30882: Changes to duplicate term not saved

WordPress Trac noreply at wordpress.org
Thu Jan 1 21:45:05 UTC 2015


#30882: Changes to duplicate term not saved
--------------------------+-----------------------------
 Reporter:  cabatint      |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Taxonomy      |    Version:  4.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Created fresh instance (files + database) with 4.1 with no plugins
 (default theme of twentyfourteen enabled)

 Create term "2015" in category - top level category, no parent.
 Create term "2015" in tags, successfully saves.
 Edit "2015" in tags to add description (no change to other fields). On
 "save" returns to tags listing page and message "Tag not updated". Viewing
 term confirms changes not saved.

 I can edit the original 2015 term within the category taxonomy to add a
 description. I cannot edit the later instances of same term in other
 taxonomies.

 Note, I have done the same with new custom taxonomies I've created
 directly via functions.php on custom post types.

 If I change the slug to 2015a in tags, the changes saved. If I attempt to
 change the slug 2015a back to 2015 I get a "tag not updated" message on
 the tag listing page.

 I cannot change "2015" slug in category to "2015a" when it's already used
 in tags. I get a "Category not updated" message on return. I can change it
 to "2015b" successfully and then back to "2015" successfully. (Again, no
 duplication in tags)

 I've also tried the same behaviors with a term of "abc" between category
 and tabs, which has the same behavior.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30882>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list