From 7749f665a9845f7bdc134a52aa61d1ec91d68b01 Mon Sep 17 00:00:00 2001 From: Marius Jensen Date: Tue, 1 Nov 2022 23:58:16 +0100 Subject: [PATCH] Fix incorrect path for loading the loopback checker if Health Check is deactivated --- mu-plugin/health-check-troubleshooting-mode.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mu-plugin/health-check-troubleshooting-mode.php b/mu-plugin/health-check-troubleshooting-mode.php index 46d8673..a16b94b 100644 --- a/mu-plugin/health-check-troubleshooting-mode.php +++ b/mu-plugin/health-check-troubleshooting-mode.php @@ -985,7 +985,7 @@ public function test_site_state() { // Make sure the Health_Check_Loopback class is available to us, in case the primary plugin is disabled. if ( ! method_exists( 'Health_Check_Loopback', 'can_perform_loopback' ) ) { - $plugin_file = trailingslashit( WP_PLUGIN_DIR ) . 'health-check/includes/class-health-check-loopback.php'; + $plugin_file = trailingslashit( WP_PLUGIN_DIR ) . 'health-check/HealthCheck/class-health-check-loopback.php'; // Make sure the file exists, in case someone deleted the plugin manually, we don't want any errors. if ( ! file_exists( $plugin_file ) ) {