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:
parent
e6bc6242ad
commit
dba7c50d29
|
@ -496,6 +496,9 @@ function populate_options() {
|
||||||
|
|
||||||
// 3.5
|
// 3.5
|
||||||
'link_manager_enabled' => 0,
|
'link_manager_enabled' => 0,
|
||||||
|
|
||||||
|
// 4.3.0
|
||||||
|
'finished_splitting_shared_terms' => 1,
|
||||||
);
|
);
|
||||||
|
|
||||||
// 3.3
|
// 3.3
|
||||||
|
|
|
@ -1507,6 +1507,7 @@ function upgrade_430() {
|
||||||
|
|
||||||
// Shared terms are split in a separate process.
|
// Shared terms are split in a separate process.
|
||||||
if ( $wp_current_db_version < 32814 ) {
|
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' );
|
wp_schedule_single_event( time() + ( 1 * MINUTE_IN_SECONDS ), 'wp_split_shared_term_batch' );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue