Ticket #18726: 18726.2.diff
File 18726.2.diff, 533 bytes (added by , 14 years ago) |
---|
-
wp-includes/formatting.php
1884 1884 if ( null === $more ) 1885 1885 $more = __( '…' ); 1886 1886 $original_text = $text; 1887 $text = strip_tags( $text );1887 $text = wp_strip_all_tags( $text ); 1888 1888 $words_array = preg_split( "/[\n\r\t ]+/", $text, $num_words + 1, PREG_SPLIT_NO_EMPTY ); 1889 1889 if ( count( $words_array ) > $num_words ) { 1890 1890 array_pop( $words_array );