Changeset 33594 for trunk/src/wp-includes/shortcodes.php
- Timestamp:
- 08/07/2015 02:49:31 AM (10 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-includes/shortcodes.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/shortcodes.php
r33469 r33594 360 360 $attributes = wp_kses_attr_parse( $element ); 361 361 if ( false === $attributes ) { 362 // Some plugins are doing things like [name] <[email]>. 363 if ( 1 === preg_match( '%^<\s*\[\[?[^\[\]]+\]%', $element ) ) { 364 $element = preg_replace_callback( "/$pattern/s", 'do_shortcode_tag', $element ); 365 } 366 362 367 // Looks like we found some crazy unfiltered HTML. Skipping it for sanity. 363 368 $element = strtr( $element, $trans );
Note: See TracChangeset
for help on using the changeset viewer.