Changeset 38511 for trunk/src/wp-includes/kses.php
- Timestamp:
- 09/02/2016 04:16:00 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/kses.php
r38121 r38511 782 782 // Allow HTML comments 783 783 784 if (!preg_match('%^<\s*(/\s*)?([a-zA-Z0-9 ]+)([^>]*)>?$%', $string, $matches))784 if (!preg_match('%^<\s*(/\s*)?([a-zA-Z0-9-]+)([^>]*)>?$%', $string, $matches)) 785 785 return ''; 786 786 // It's seriously malformed
Note: See TracChangeset
for help on using the changeset viewer.