mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Parse shortcodes AFTER wpautop() to avoid mangling. Have wptexturize() ignore shortcodes so quotes stay straight. fixes #6444 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7581 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -129,6 +129,6 @@ function shortcode_atts($pairs, $atts) {
|
||||
return $out;
|
||||
}
|
||||
|
||||
add_filter( 'the_content', 'do_shortcode', 9 );
|
||||
add_filter('the_content', 'do_shortcode', 11); // AFTER wpautop()
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user