Ticket #11244: 11244.patch
File 11244.patch, 601 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 if(strlen($desc) > 360) 808 { 809 $desc = wp_html_excerpt( $desc, 360 ) . ' […]'; 810 } 808 811 $desc = esc_html( $desc ); 809 812 810 813 if ( $show_summary ) {