[wp-trac] [WordPress Trac] #11244: wp_widget_rss_output with show_summaryshows two ellipses

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 24 01:14:45 UTC 2009


#11244: wp_widget_rss_output with show_summaryshows two ellipses
---------------------------+------------------------------------------------
 Reporter:  aaroncampbell  |       Owner:     
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  2.9
Component:  General        |     Version:  2.9
 Severity:  normal         |    Keywords:     
---------------------------+------------------------------------------------
 You should be able to see this by looking at the WordPress Development
 Blog feed on the dashboard.  One is actually three periods, and one is
 …

 It looks like the problem is that feeds (including those created by
 WordPress) often have a description that is shorter than 360 characters
 and already ends in [...], which means that the string is not shortened at
 all, but is treated as though it was.  The … is added in wp-
 includes/default-widgets.php on line 804:

 {{{
 $desc = wp_html_excerpt( $desc, 360 ) . ' […]';
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11244>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list