diff --git a/src/wp-admin/includes/class-wp-site-health.php b/src/wp-admin/includes/class-wp-site-health.php index 1fc0cea878..9e6815f180 100644 --- a/src/wp-admin/includes/class-wp-site-health.php +++ b/src/wp-admin/includes/class-wp-site-health.php @@ -3290,10 +3290,6 @@ class WP_Site_Health { public function should_suggest_persistent_object_cache() { global $wpdb; - if ( is_multisite() ) { - return true; - } - /** * Filters whether to suggest use of a persistent object cache and bypass default threshold checks. * @@ -3309,6 +3305,10 @@ class WP_Site_Health { return $short_circuit; } + if ( is_multisite() ) { + return true; + } + /** * Filters the thresholds used to determine whether to suggest the use of a persistent object cache. *