Ticket #4679: post_template__formatting.diff
File post_template__formatting.diff, 973 bytes (added by , 17 years ago) |
---|
-
wp-includes/formatting.php
814 814 function wp_trim_excerpt($text) { // Fakes an excerpt if needed 815 815 if ( '' == $text ) { 816 816 $text = get_the_content(''); 817 $text = apply_filters('the_content', $text);818 817 $text = str_replace(']]>', ']]>', $text); 819 818 $text = strip_tags($text); 820 819 $excerpt_length = 55; -
wp-includes/post-template.php
127 127 if ( $preview ) // preview fix for javascript bug with foreign languages 128 128 $output = preg_replace('/\%u([0-9A-F]{4,4})/e', "'&#'.base_convert('\\1',16,10).';'", $output); 129 129 130 return $output;130 return apply_filters('get_the_content', $output); 131 131 } 132 132 133 133