diff --git a/accessibility-checker.php b/accessibility-checker.php index 2664dccb..775909ea 100644 --- a/accessibility-checker.php +++ b/accessibility-checker.php @@ -26,8 +26,7 @@ // Check for WordPress Playground. require_once plugin_dir_path( __FILE__ ) . 'includes/classes/class-playground-check.php'; -$plugin_check = new EDAC\Playground_Check(); -if ( ! $plugin_check->should_load ) { +if ( ! ( new EDAC\Playground_Check() )->should_load ) { return; }