Skip to content

Commit

Permalink
fixes #134
Browse files Browse the repository at this point in the history
  • Loading branch information
timelsass authored Mar 8, 2019
1 parent 8e3c90f commit f8d985d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/callback/class-run-sniffer-callback.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit f8d985d

Please sign in to comment.