Ticket #10376: formatting.php.diff
File formatting.php.diff, 580 bytes (added by , 16 years ago) |
---|
-
trunk/wp-includes/formatting.php
1696 1696 1697 1697 $text = apply_filters('the_content', $text); 1698 1698 $text = str_replace(']]>', ']]>', $text); 1699 $text = strip_tags($text);1699 $text = trim(preg_replace('|\s+|',' ',strip_tags($text))); 1700 1700 $excerpt_length = apply_filters('excerpt_length', 55); 1701 1701 $words = explode(' ', $text, $excerpt_length + 1); 1702 1702 if (count($words) > $excerpt_length) {