Ticket #11244: 11244-double-hellip.diff
File 11244-double-hellip.diff, 669 bytes (added by , 16 years ago) |
---|
-
default-widgets.php
804 804 $title = __('Untitled'); 805 805 806 806 $desc = str_replace(array("\n", "\r"), ' ', esc_attr(strip_tags(@html_entity_decode($item->get_description(), ENT_QUOTES, get_option('blog_charset'))))); 807 $desc = wp_html_excerpt( $desc, 360 ) . ' […]'; 807 $desc = trim( wp_html_excerpt( $desc, 360 ) ) . ' […]'; 808 $desc = str_replace( array('[…] […]', '[...] […]'), '[…]', $desc ); 808 809 $desc = esc_html( $desc ); 809 810 810 811 if ( $show_summary ) {