diff --git a/src/wp-admin/includes/upgrade.php b/src/wp-admin/includes/upgrade.php index 77487ba2cb..8cc106f45d 100644 --- a/src/wp-admin/includes/upgrade.php +++ b/src/wp-admin/includes/upgrade.php @@ -2174,9 +2174,6 @@ function upgrade_550() { global $wp_current_db_version; if ( $wp_current_db_version < 48121 ) { - update_option( 'finished_updating_comment_type', 0 ); - wp_schedule_single_event( time() + ( 1 * MINUTE_IN_SECONDS ), 'wp_update_comment_type_batch' ); - $comment_previously_approved = get_option( 'comment_whitelist', '' ); update_option( 'comment_previously_approved', $comment_previously_approved ); delete_option( 'comment_whitelist' ); @@ -2198,6 +2195,11 @@ function upgrade_550() { delete_option( 'blacklist_keys' ); delete_option( 'blocklist_keys' ); } + + if ( $wp_current_db_version < 48748 ) { + update_option( 'finished_updating_comment_type', 0 ); + wp_schedule_single_event( time() + ( 1 * MINUTE_IN_SECONDS ), 'wp_update_comment_type_batch' ); + } } /** diff --git a/src/wp-includes/version.php b/src/wp-includes/version.php index 583b9434b9..e00f5b1b11 100644 --- a/src/wp-includes/version.php +++ b/src/wp-includes/version.php @@ -20,7 +20,7 @@ $wp_version = '5.6-alpha-48683-src'; * * @global int $wp_db_version */ -$wp_db_version = 48575; +$wp_db_version = 48748; /** * Holds the TinyMCE version.