Ticket #12061: 12061.diff
File 12061.diff, 623 bytes (added by , 10 years ago) |
---|
-
wp-includes/formatting.php
476 476 return $pee; 477 477 } 478 478 479 $tagregexp = join( '|', array_map( 'preg_quote', array_keys( $shortcode_tags ) ) ); 479 $no_unautop_shortcodes = apply_filters( 'no_unautop_shortcodes', array() ); 480 481 $unautop_shortcodes = array_diff( array_keys( $shortcode_tags ), $no_unautop_shortcodes ); 482 483 $tagregexp = join( '|', array_map( 'preg_quote', $unautop_shortcodes ) ); 480 484 $spaces = wp_spaces_regexp(); 481 485 482 486 $pattern =