diff --git a/class/class-wp-scss.php b/class/class-wp-scss.php index 54c157b..a5e8095 100644 --- a/class/class-wp-scss.php +++ b/class/class-wp-scss.php @@ -159,7 +159,7 @@ function compiler($in, $out, $instance) { */ public function needs_compiling() { global $wpscss_settings; - if (defined('WP_SCSS_ALWAYS_RECOMPILE') && WP_SCSS_ALWAYS_RECOMPILE || $wpscss_settings['always_recompile'] === "1") { + if (defined('WP_SCSS_ALWAYS_RECOMPILE') && WP_SCSS_ALWAYS_RECOMPILE || isset($wpscss_settings['always_recompile']) ? $wpscss_settings['always_recompile'] === "1" : false) { return true; }