diff --git a/wp-admin/includes/class-wp-site-health-auto-updates.php b/wp-admin/includes/class-wp-site-health-auto-updates.php index d06ae33cb2..b202235f12 100644 --- a/wp-admin/includes/class-wp-site-health-auto-updates.php +++ b/wp-admin/includes/class-wp-site-health-auto-updates.php @@ -86,6 +86,10 @@ class WP_Site_Health_Auto_Updates { * @return array The test results. */ public function test_wp_version_check_attached() { + if ( ! is_main_site() ) { + return; + } + $cookies = wp_unslash( $_COOKIE ); $timeout = 10; $headers = array( diff --git a/wp-admin/includes/class-wp-site-health.php b/wp-admin/includes/class-wp-site-health.php index f777514617..d7a6786a8d 100644 --- a/wp-admin/includes/class-wp-site-health.php +++ b/wp-admin/includes/class-wp-site-health.php @@ -366,7 +366,7 @@ class WP_Site_Health { } // Check if there are inactive plugins. - if ( $plugins_total > $plugins_active ) { + if ( $plugins_total > $plugins_active && ! is_multisite() ) { $unused_plugins = $plugins_total - $plugins_active; $result['status'] = 'recommended'; @@ -521,7 +521,7 @@ class WP_Site_Health { } } - if ( $has_unused_themes && $show_unused_themes ) { + if ( $has_unused_themes && $show_unused_themes && ! is_multisite() ) { // This is a child theme, so we want to be a bit more explicit in our messages. if ( $active_theme->parent() ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 61471e3beb..4232cc72c4 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.2-RC1-45274'; +$wp_version = '5.2-RC1-45275'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.