[wp-trac] [WordPress Trac] #5809: Updating a term in one taxonomy affects the term in every taxonomy

WordPress Trac noreply at wordpress.org
Sun Jan 26 10:18:27 UTC 2014


#5809: Updating a term in one taxonomy affects the term in every taxonomy
-----------------------------+-----------------------------
 Reporter:  rmccue           |       Owner:  garyc40
     Type:  defect (bug)     |      Status:  reopened
 Priority:  high             |   Milestone:  Future Release
Component:  Taxonomy         |     Version:  2.3
 Severity:  major            |  Resolution:
 Keywords:  has-patch early  |     Focuses:
-----------------------------+-----------------------------

Comment (by voilamedia):

 Want to make sure this issues is related before posting another ticket. I
 tested this on a fresh install with WordPress 3.8.1.

 When you create a custom taxonomy, (post types most likely would do this
 too but I didn't want to test it) then add terms to the taxonomy as you
 would. Then add a term of that taxonomy as the name of custom menu that
 you set up with the new menu manager feature, than add menu items it
 modifies the term and the menu it modifies both the menu term and the
 custom taxonomy term

 To replicate.

 1. create custom taxonomy called centers with a term called "Western US /
 Los Angeles" with slug of la
 2. Create a menu called "Western US / Los Angeles"
 3. Add items to the menu and save it.
 4. Go back and check the taxonomy the slug has been updated to "western-
 us-los-angeles"
 5. The same thing happens if you use a slug or an id as the menu name. It
 changes the term name of the custom taxonomy  to term Id.
 6. Once this happens If you update either the menu or the term of the
 custom taxonomy term it updates both terms.

 After some looking it seems like once you create a term and than create a
 menu term of the same name,Id, or slug instead of creating a new menu term
 it updates the existing term.

  If this issue is as big as it looks I really don't understand why this
 has not been resolved yet. This has been issue for years and it can cause
 a lot of issues. I propose this should be fixed in 3.8.2.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/5809#comment:30>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list