Ticket #7778: formatting.php.diff
File formatting.php.diff, 474 bytes (added by , 17 years ago) |
---|
-
formatting.php
1325 1325 $text = str_replace(']]>', ']]>', $text); 1326 1326 $text = strip_tags($text); 1327 1327 $excerpt_length = 55; 1328 $excerpt_length = apply_filters('excerpt_length', $excerpt_length); 1328 1329 $words = explode(' ', $text, $excerpt_length + 1); 1329 1330 if (count($words) > $excerpt_length) { 1330 1331 array_pop($words);