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

WordPress Trac noreply at wordpress.org
Tue Nov 4 21:22:50 UTC 2014


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

Comment (by boonebgorges):

 [attachment:5809.4.patch] implements a suggestion by markjaquith to
 further avoid race conditions that may lead to duplicated terms. In
 3.patch, there might still be cases - replication aside - where term
 inserts overlap in such a way that they would see each other as duplicates
 and unwittingly delete themselves. In 4.patch, the post-INSERT check looks
 for a term_id and term_taxonomy_id are `<` those just created,
 guaranteeing that the first one is always canonical even in cases of
 overlap.

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


More information about the wp-trac mailing list