mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Avoid PHP notice on blank chat lines. props SergeyBiryukov. see #23625
git-svn-id: https://develop.svn.wordpress.org/trunk@23880 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -520,6 +520,8 @@ function get_content_chat( &$content, $remove = false ) {
|
||||
$author = $time = '';
|
||||
if ( ! empty( $lines[$index + 1] ) && ! preg_match( $delimiter_regex, $lines[$index + 1] ) )
|
||||
break;
|
||||
else
|
||||
continue;
|
||||
}
|
||||
|
||||
$matches = array();
|
||||
|
||||
Reference in New Issue
Block a user