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

WordPress Trac noreply at wordpress.org
Fri Aug 14 03:58:43 UTC 2015


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

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"33615"]:
 {{{
 #!CommitTicketReference repository="" revision="33615"
 Term splitting routine should be run in a separate process, triggered via
 wp-cron.

 [32814] introduced a routine to split shared terms, which was run during
 the
 regular WP database upgrade. This turned out to be problematic because
 plugins
 are not loaded during the db upgrade (due to `WP_INSTALLING`), with the
 result
 that plugins were not able to hook into the 'split_shared_term' action
 during
 the bulk split. We work around this limitation by moving the term
 splitting
 routine to a separate process, triggered by a wp-cron hook.

 Props boonebgorges, Chouby, peterwilsoncc, pento, dd32.
 Fixes #30261.
 }}}

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


More information about the wp-trac mailing list