Don't run term-splitting routine on new installations.

Props pento.
Fixes #30261.
Built from https://develop.svn.wordpress.org/trunk@33621


git-svn-id: http://core.svn.wordpress.org/trunk@33588 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Boone Gorges 2015-08-17 14:29:25 +00:00
parent e6bc6242ad
commit dba7c50d29
3 changed files with 5 additions and 1 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' );
}

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.3-RC2-33620';
$wp_version = '4.3-RC2-33621';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.