Ticket #2130: kses.php.diff
File kses.php.diff, 468 bytes (added by , 19 years ago) |
---|
-
wp-includes/kses.php
98 98 return '>'; 99 99 # It matched a ">" character 100 100 101 if (preg_match('%^<!--[^>-]+-->$%', $string)) 102 return $string; 103 # Allow HTML comments 104 101 105 if (!preg_match('%^<\s*(/\s*)?([a-zA-Z0-9]+)([^>]*)>?$%', $string, $matches)) 102 106 return ''; 103 107 # It's seriously malformed