[wp-trac] Re: [WordPress Trac] #7375: RSS Widget displays HTML

WordPress Trac wp-trac at lists.automattic.com
Tue Aug 5 08:14:16 GMT 2008


#7375: RSS Widget displays HTML
-----------------------------+----------------------------------------------
 Reporter:  MtDewVirus       |        Owner:  anonymous
     Type:  defect           |       Status:  new      
 Priority:  normal           |    Milestone:  2.7      
Component:  General          |      Version:  2.6      
 Severity:  normal           |   Resolution:           
 Keywords:  rss,widget,html  |  
-----------------------------+----------------------------------------------
Comment (by dsader):

 Change needed in wp-includes/widgets.php

 Fixed when I change line 1139 from

 `$desc = str_replace(array("\n", "\r"), ' ',
 attribute_escape(strip_tags(html_entity_decode($summary, ENT_QUOTES))));`

 to

 `$summary = str_replace(array("\n", "\r"), ' ',
 attribute_escape(strip_tags(html_entity_decode($summary, ENT_QUOTES))));`

-- 
Ticket URL: <http://trac.wordpress.org/ticket/7375#comment:2>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list