[wp-trac] [WordPress Trac] #30335: Splitting shared terms on term update breaks backward compatibility when using an old term_id

WordPress Trac noreply at wordpress.org
Fri Nov 14 21:16:17 UTC 2014


#30335: Splitting shared terms on term update breaks backward compatibility when
using an old term_id
--------------------------+--------------------
 Reporter:  boonebgorges  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  high          |   Milestone:  4.1
Component:  Taxonomy      |     Version:  trunk
 Severity:  major         |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+--------------------

Comment (by boonebgorges):

 [attachment:30335.2.patch] reinstates the term splitting on
 `wp_update_term()`, with the following improvements:

 * As requested, a 'split_shared_term' action is fired at the end of
 `_split_shared_term()`.
 * Added previously missing support for the reassigning of child terms,
 plus unit tests.

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


More information about the wp-trac mailing list