Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Commit

Permalink
Merge pull request #136 from timelsass/patch-3
Browse files Browse the repository at this point in the history
fixes #134
  • Loading branch information
dingo-d authored Mar 8, 2019
2 parents 28ad365 + f8d985d commit e232319
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 e232319

Please sign in to comment.