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

WordPress Trac noreply at wordpress.org
Mon Nov 3 19:21:30 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.3.patch] refines 2.patch in the following ways:

 * Improve cache busting for shared term_taxonomy_ids when splitting a
 shared term
 * Remove the parameter format args (`%d`) in the `$wpdb` method calls,
 which nacin reminds me are not necessary when querying core tables
 `</plugin_developer_mea_culpa>`
 * When a duplicate term is detected after insert in `wp_insert_term()`,
 return immediately rather than continuing with the function. We shouldn't
 run the term creation hooks in this case.

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


More information about the wp-trac mailing list