From f8d985d946d90d4b85f8266c70aa67956aefc697 Mon Sep 17 00:00:00 2001 From: Tim Elsass Date: Thu, 7 Mar 2019 21:58:17 -0500 Subject: [PATCH] fixes #134 --- src/callback/class-run-sniffer-callback.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/callback/class-run-sniffer-callback.php b/src/callback/class-run-sniffer-callback.php index e5eb30a..91b6fc5 100644 --- a/src/callback/class-run-sniffer-callback.php +++ b/src/callback/class-run-sniffer-callback.php @@ -780,7 +780,7 @@ protected function style_headers_check( $theme_slug, \WP_Theme $theme, $show_war */ protected function required_files_check( $theme_slug, $check_php_only ) { - $required_files = [ 'comments.php', 'functions.php', 'readme.txt', 'screenshot.png' ]; + $required_files = [ 'readme.txt', 'screenshot.png' ]; if ( $check_php_only ) { $required_files = array_filter(