Ticket #12084: excerpt_tags.diff
File excerpt_tags.diff, 624 bytes (added by , 15 years ago) |
---|
-
formatting.php
1812 1812 1813 1813 $text = apply_filters('the_content', $text); 1814 1814 $text = str_replace(']]>', ']]>', $text); 1815 $text = strip_tags($text); 1815 $excerpt_tags = apply_filters('excerpt_tags', ''); 1816 $text = strip_tags($text, $excerpt_tags); 1817 $text = force_balance_tags($text); 1816 1818 $excerpt_length = apply_filters('excerpt_length', 55); 1817 1819 $excerpt_more = apply_filters('excerpt_more', ' ' . '[...]'); 1818 1820 $words = explode(' ', $text, $excerpt_length + 1);