diff --git a/wp-admin/ms-upgrade-network.php b/wp-admin/ms-upgrade-network.php
index 21435298ad..12d5f56c87 100644
--- a/wp-admin/ms-upgrade-network.php
+++ b/wp-admin/ms-upgrade-network.php
@@ -43,15 +43,13 @@ switch ( $action ) {
}
echo "
";
foreach ( (array) $blogs as $details ) {
- if ( $details['spam'] == 0 && $details['deleted'] == 0 && $details['archived'] == 0 ) {
- $siteurl = get_blog_option( $details['blog_id'], 'siteurl' );
- echo "- $siteurl
";
- $response = wp_remote_get( trailingslashit( $siteurl ) . "wp-admin/upgrade.php?step=1", array( 'timeout' => 120, 'httpversion' => '1.1' ) );
- if ( is_wp_error( $response ) )
- wp_die( "Warning! Problem updating {$siteurl}. Your server may not be able to connect to sites running on it.
Error message: " . $response->get_error_message() ."" );
- do_action( 'after_mu_upgrade', $response );
- do_action( 'wpmu_upgrade_site', $details[ 'blog_id' ] );
- }
+ $siteurl = get_blog_option( $details['blog_id'], 'siteurl' );
+ echo "- $siteurl
";
+ $response = wp_remote_get( trailingslashit( $siteurl ) . "wp-admin/upgrade.php?step=upgrade_db", array( 'timeout' => 120, 'httpversion' => '1.1' ) );
+ if ( is_wp_error( $response ) )
+ wp_die( "Warning! Problem updating {$siteurl}. Your server may not be able to connect to sites running on it.
Error message: " . $response->get_error_message() ."" );
+ do_action( 'after_mu_upgrade', $response );
+ do_action( 'wpmu_upgrade_site', $details[ 'blog_id' ] );
}
echo "
";
?>