Changeset 34146 for branches/4.1/src/wp-includes/shortcodes.php
- Timestamp:
- 09/14/2015 10:47:50 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.1/src/wp-includes/shortcodes.php
r33564 r34146 455 455 $atts[] = stripcslashes($m[8]); 456 456 } 457 458 // Reject any unclosed HTML elements 459 foreach( $atts as &$value ) { 460 if ( false !== strpos( $value, '<' ) ) { 461 if ( 1 !== preg_match( '/^[^<]*+(?:<[^>]*+>[^<]*+)*+$/', $value ) ) { 462 $value = ''; 463 } 464 } 465 } 457 466 } else { 458 467 $atts = ltrim($text);
Note: See TracChangeset
for help on using the changeset viewer.