Ticket #34105: 34105.diff
File 34105.diff, 448 bytes (added by , 8 years ago) |
---|
-
src/wp-includes/kses.php
776 776 } 777 777 // Allow HTML comments 778 778 779 if (!preg_match('%^<\s*(/\s*)?([a-zA-Z0-9 ]+)([^>]*)>?$%', $string, $matches))779 if (!preg_match('%^<\s*(/\s*)?([a-zA-Z0-9-]+)([^>]*)>?$%', $string, $matches)) 780 780 return ''; 781 781 // It's seriously malformed 782 782