Skip to content
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
2 changes: 1 addition & 1 deletion checks/class-title-check.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function check( $php_files, $css_files, $other_files ) {
}

// Look for anything that looks like <svg>...</svg> and exclude it (inline svg's have titles too).
$file_content = preg_replace( '/<svg.*>.*<\/svg>/s', '', $file_content );
$file_content = preg_replace( '/<svg.*>.*<\/svg>/isU', '', $file_content );

// Look for <title> and </title> tags.
checkcount();
Expand Down