diff --git src/wp-includes/formatting.php src/wp-includes/formatting.php
index 44376e5..b1f997f 100644
|
|
function shortcode_unautop( $pee ) { |
486 | 486 | return $pee; |
487 | 487 | } |
488 | 488 | |
489 | | $tagregexp = join( '|', array_map( 'preg_quote', array_keys( $shortcode_tags ) ) ); |
| 489 | /** |
| 490 | * Filter the list of shortcodes to run through the 'unautop' routine. |
| 491 | * |
| 492 | * @since 4.1.0 |
| 493 | * |
| 494 | * @param array $shortcode_tags Shortcode tags to run through the 'unautop' routine. |
| 495 | */ |
| 496 | $unautop_shortcode_tags = apply_filters( 'unautop_shortcodes', array_keys( $shortcode_tags ) ); |
| 497 | |
| 498 | $tagregexp = join( '|', array_map( 'preg_quote', $unautop_shortcode_tags ) ); |
490 | 499 | $spaces = wp_spaces_regexp(); |
491 | 500 | |
492 | 501 | $pattern = |