Skip to content

Commit

Permalink
Fix incorrect path for loading the loopback checker if Health Check i…
Browse files Browse the repository at this point in the history
…s deactivated
  • Loading branch information
Clorith committed Nov 1, 2022
1 parent a0a659b commit 7749f66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mu-plugin/health-check-troubleshooting-mode.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) ) {
Expand Down

0 comments on commit 7749f66

Please sign in to comment.