Changes from branches/4.3/src/wp-includes/shortcodes.php at r34144 to trunk/src/wp-includes/shortcodes.php at r33627
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/shortcodes.php
r34144 r33627 463 463 $atts[] = stripcslashes($m[8]); 464 464 } 465 466 // Reject any unclosed HTML elements467 foreach( $atts as &$value ) {468 if ( false !== strpos( $value, '<' ) ) {469 if ( 1 !== preg_match( '/^[^<]*+(?:<[^>]*+>[^<]*+)*+$/', $value ) ) {470 $value = '';471 }472 }473 }474 465 } else { 475 466 $atts = ltrim($text);
Note: See TracChangeset
for help on using the changeset viewer.