From e33ff607e62df3682cc5608ee09ac0e0b2ae5d83 Mon Sep 17 00:00:00 2001 From: Boone Gorges Date: Mon, 17 Aug 2015 14:28:03 +0000 Subject: [PATCH] Don't run term-splitting routine on new installations. Props pento. Fixes #30261. git-svn-id: https://develop.svn.wordpress.org/trunk@33621 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/includes/schema.php | 3 +++ src/wp-admin/includes/upgrade.php | 1 + 2 files changed, 4 insertions(+) diff --git a/src/wp-admin/includes/schema.php b/src/wp-admin/includes/schema.php index 95ee375881..8c84054803 100644 --- a/src/wp-admin/includes/schema.php +++ b/src/wp-admin/includes/schema.php @@ -496,6 +496,9 @@ function populate_options() { // 3.5 'link_manager_enabled' => 0, + + // 4.3.0 + 'finished_splitting_shared_terms' => 1, ); // 3.3 diff --git a/src/wp-admin/includes/upgrade.php b/src/wp-admin/includes/upgrade.php index e7d7dd782a..cb4d63da31 100644 --- a/src/wp-admin/includes/upgrade.php +++ b/src/wp-admin/includes/upgrade.php @@ -1507,6 +1507,7 @@ function upgrade_430() { // Shared terms are split in a separate process. if ( $wp_current_db_version < 32814 ) { + update_option( 'finished_splitting_shared_terms', 0 ); wp_schedule_single_event( time() + ( 1 * MINUTE_IN_SECONDS ), 'wp_split_shared_term_batch' ); }