Changeset 34145 for branches/4.2/src/wp-includes/shortcodes.php
- Timestamp:
- 09/14/2015 10:47:19 PM (11 years ago)
- File:
-
- 1 edited
-
branches/4.2/src/wp-includes/shortcodes.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/4.2/src/wp-includes/shortcodes.php
r33518 r34145 458 458 $atts[] = stripcslashes($m[8]); 459 459 } 460 461 // Reject any unclosed HTML elements 462 foreach( $atts as &$value ) { 463 if ( false !== strpos( $value, '<' ) ) { 464 if ( 1 !== preg_match( '/^[^<]*+(?:<[^>]*+>[^<]*+)*+$/', $value ) ) { 465 $value = ''; 466 } 467 } 468 } 460 469 } else { 461 470 $atts = ltrim($text);
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)