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

Allow line breaks between headers in readme.txt #227

Open
wants to merge 1 commit into
base: development
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/sniffs/readme/class-parser.php
Original file line number Diff line number Diff line change
Expand Up @@ -230,11 +230,11 @@ protected function parse_readme( $file ) {
$value = null;
if ( false === strpos( $line, ':' ) ) {

// Some plugins have line-breaks within the headers.
// Some themes have line-breaks within the headers.
if ( empty( $line ) ) {
break;
} else {
continue;
} else {
break;
}
}

Expand Down