[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
Wed Nov 26 19:46:40 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:  has-patch     |     Focuses:
--------------------------+--------------------

Comment (by Chouby):

 Replying to [comment:22 boonebgorges]:
 > We feel confident that this will provide backward compatibility for a
 large percentage of cases where old term_ids have been cached, and are
 looking for feedback.
 Some positive feedback here. I write such plugin which caches term_ids
 (and even associations between these term_ids). I just tested with the
 beta 2 and the action 'split_shared_term' is just perfect to update the
 cache. One remark though: since I store associations of term_ids, I need
 to split the associated terms. The best function to do this is to use
 _split_shared_term. Is there any reason why you want to keep it private?

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


More information about the wp-trac mailing list