[wpmu-trac] [WordPress MU Trac] #707: wp-includes/widgets.php typo
causes html code to display in dashboard RSS feeds
WordPress MU Trac
wpmu-trac at lists.automattic.com
Tue Aug 5 08:25:42 GMT 2008
#707: wp-includes/widgets.php typo causes html code to display in dashboard RSS
feeds
------------------------+---------------------------------------------------
Reporter: dsader | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone:
Component: component1 | Version:
Severity: normal | Keywords:
------------------------+---------------------------------------------------
Some RSS feeds(http://mu.wordpress.org/forums/rss.php for example) in a
dashboard RSS widget still show html code.
From wp-includes/widgets.php (WPMU trunk Rev 1378)
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))));`
Thanks.
(I also commented on http://trac.wordpress.org/ticket/7375 )
--
Ticket URL: <http://trac.mu.wordpress.org/ticket/707>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser
More information about the wpmu-trac
mailing list