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

WordPress Trac noreply at wordpress.org
Thu Aug 13 06:32:48 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 peterwilsoncc):

 [attachment:30261.8.diff] modifies @boonebgorges' work in 30261.7.diff.

 * runs the splitting function on upgrade (now renamed
 `_wp_batch_split_terms` & in wp-includes)
 * apart from the scheduling, the batch function is unchanged from Boone's
 v7 patch
 * _wp_batch_split_terms runs on a cron every 5 minutes (arbitrary number)
 until there a no more terms to split

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


More information about the wp-trac mailing list