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

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 6 03:42:35 UTC 2010


#11244: wp_widget_rss_output with show_summaryshows two ellipses
---------------------------+------------------------------------------------
 Reporter:  aaroncampbell  |        Owner:  westi   
     Type:  defect (bug)   |       Status:  accepted
 Priority:  low            |    Milestone:  3.0     
Component:  Widgets        |      Version:  2.9     
 Severity:  trivial        |   Resolution:          
 Keywords:  has-patch      |  
---------------------------+------------------------------------------------

Comment(by hakre):

 sometimes a substr does work as well:

 {{{$desc = preg_replace( '/\[...\]$/D', ' […]', $desc );}}}

 might be faster then a preg_replace. even with an if and a str_replace().

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


More information about the wp-trac mailing list