WordPress.org

Make WordPress Core

Ticket #7093: shortcodesdiff.txt

File shortcodesdiff.txt, 470 bytes (added by misterbisson, 6 years ago)
Line 
1Index: shortcodes.php
2===================================================================
3--- shortcodes.php      (revision 7956)
4+++ shortcodes.php      (working copy)
5@@ -135,5 +135,8 @@
6 }
7 
8 add_filter('the_content', 'do_shortcode', 11); // AFTER wpautop()
9+add_filter('the_content_rss', 'do_shortcode', 11); // AFTER wpautop()
10+add_filter('the_excerpt', 'do_shortcode', 11); // AFTER wpautop()
11+add_filter('the_excerpt_rss', 'do_shortcode', 11); // AFTER wpautop()
12 
13 ?>