Ticket #6436: 6436.diff

File 6436.diff, 332 bytes (added by andy, 5 years ago)

filter shortcodes before wptexturize

Line 
1Index: wp-includes/shortcodes.php
2===================================================================
3--- wp-includes/shortcodes.php  (revision 7560)
4+++ wp-includes/shortcodes.php  (working copy)
5@@ -129,6 +129,6 @@
6        return $out;
7 }
8 
9-add_filter('the_content', 'do_shortcode');
10+add_filter('the_content', 'do_shortcode', 9);
11 
12 ?>