Changeset 33568 for branches/3.7/src/wp-includes/shortcodes.php
- Timestamp:
- 08/04/2015 07:18:50 AM (9 years ago)
- Location:
- branches/3.7
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.7
- Property svn:mergeinfo changed
/branches/4.2 (added) merged: 33499
- Property svn:mergeinfo changed
-
branches/3.7/src
- Property svn:mergeinfo changed
/branches/4.2/src (added) merged: 33499
- Property svn:mergeinfo changed
-
branches/3.7/src/wp-includes/shortcodes.php
r33525 r33568 346 346 $attributes = wp_kses_attr_parse( $element ); 347 347 if ( false === $attributes ) { 348 // Some plugins are doing things like [name] <[email]>. 349 if ( 1 === preg_match( '%^<\s*\[\[?[^\[\]]+\]%', $element ) ) { 350 $element = preg_replace_callback( "/$pattern/s", 'do_shortcode_tag', $element ); 351 } 352 348 353 // Looks like we found some crazy unfiltered HTML. Skipping it for sanity. 349 354 $element = strtr( $element, $trans );
Note: See TracChangeset
for help on using the changeset viewer.