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:
parent
e7a203cdf2
commit
e33ff607e6
@ -496,6 +496,9 @@ function populate_options() {
|
||||
|
||||
// 3.5
|
||||
'link_manager_enabled' => 0,
|
||||
|
||||
// 4.3.0
|
||||
'finished_splitting_shared_terms' => 1,
|
||||
);
|
||||
|
||||
// 3.3
|
||||
|
@ -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' );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user