Changeset 34144 for branches/4.3/src/wp-includes/shortcodes.php
- Timestamp:
- 09/14/2015 10:46:42 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/4.3/src/wp-includes/shortcodes.php
r33627 r34144 463 463 $atts[] = stripcslashes($m[8]); 464 464 } 465 466 // Reject any unclosed HTML elements 467 foreach( $atts as &$value ) { 468 if ( false !== strpos( $value, '<' ) ) { 469 if ( 1 !== preg_match( '/^[^<]*+(?:<[^>]*+>[^<]*+)*+$/', $value ) ) { 470 $value = ''; 471 } 472 } 473 } 465 474 } else { 466 475 $atts = ltrim($text);
Note: See TracChangeset
for help on using the changeset viewer.