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
This commit is contained in:
Boone Gorges 2015-08-17 14:28:03 +00:00
parent e7a203cdf2
commit e33ff607e6
2 changed files with 4 additions and 0 deletions

View File

@ -496,6 +496,9 @@ function populate_options() {
// 3.5
'link_manager_enabled' => 0,
// 4.3.0
'finished_splitting_shared_terms' => 1,
);
// 3.3

View File

@ -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' );
}