Ticket #3670: 3670.diff
File 3670.diff, 665 bytes (added by , 15 years ago) |
---|
-
wp-includes/post-template.php
164 164 function the_content($more_link_text = null, $stripteaser = 0) { 165 165 $content = get_the_content($more_link_text, $stripteaser); 166 166 $content = apply_filters('the_content', $content); 167 $content = str_replace(']]>', ']]>', $content); 167 // a shortcode might have overridden $wp_query by calling query_posts() 168 global $wp_the_query; 169 if ( $wp_the_query->is_feed ) 170 $content = str_replace(']]>', ']]>', $content); 168 171 echo $content; 169 172 } 170 173