Ticket #10395: 10395.patch
File 10395.patch, 575 bytes (added by , 15 years ago) |
---|
-
wp-includes/formatting.php
1700 1700 $excerpt_length = apply_filters('excerpt_length', 55); 1701 1701 $words = explode(' ', $text, $excerpt_length + 1); 1702 1702 if (count($words) > $excerpt_length) { 1703 $excerpt_more = apply_filters('excerpt_more', '[...]'); 1703 1704 array_pop($words); 1704 array_push($words, '[...]');1705 array_push($words, $excerpt_more); 1705 1706 $text = implode(' ', $words); 1706 1707 } 1707 1708 }