Changeset 36097 for trunk/src/wp-includes/formatting.php
- Timestamp:
- 12/26/2015 04:45:26 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/formatting.php
r36036 r36097 217 217 // Look for shortcodes and HTML elements. 218 218 219 preg_match_all( '@\[/?([^<>&/\[\]\x00-\x20 ]++)@', $text, $matches );219 preg_match_all( '@\[/?([^<>&/\[\]\x00-\x20=]++)@', $text, $matches ); 220 220 $tagnames = array_intersect( array_keys( $shortcode_tags ), $matches[1] ); 221 221 $found_shortcodes = ! empty( $tagnames );
Note: See TracChangeset
for help on using the changeset viewer.