Merge pull request #8356 from MrPetovan/bug/notices
Add check for semi-colon existence in theme file comment lines
This commit is contained in:
commit
25cc745d70
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ class Theme
|
|||
$comment_lines = explode("\n", $matches[0]);
|
||||
foreach ($comment_lines as $comment_line) {
|
||||
$comment_line = trim($comment_line, "\t\n\r */");
|
||||
if ($comment_line != "") {
|
||||
if (strpos($comment_line, ':') !== false) {
|
||||
list($key, $value) = array_map("trim", explode(":", $comment_line, 2));
|
||||
$key = strtolower($key);
|
||||
if ($key == "author") {
|
||||
|
|
Loading…
Reference in a new issue