[wp-trac] [WordPress Trac] #30261: Split all existing shared taxonomy terms on WP upgrade

WordPress Trac noreply at wordpress.org
Thu Aug 13 16:46:04 UTC 2015


#30261: Split all existing shared taxonomy terms on WP upgrade
-------------------------------------+---------------------------
 Reporter:  boonebgorges             |       Owner:  boonebgorges
     Type:  enhancement              |      Status:  reopened
 Priority:  high                     |   Milestone:  4.3
Component:  Taxonomy                 |     Version:
 Severity:  blocker                  |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+---------------------------

Comment (by ocean90):

 [attachment:30261.14.diff] looks good so far. `split_shared_term_batch`
 should probably be `wp_split_shared_term_batch`.

 I noticed one race condition: We don't schedule a new event if
 `_wp_batch_split_terms()` bails because of a lock situation. Means we
 never continue splitting terms in such a case.

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


More information about the wp-trac mailing list