[wp-trac] Re: [WordPress Trac] #4321: Feed validation error with
html in categories
WordPress Trac
wp-trac at lists.automattic.com
Wed Sep 3 09:43:44 GMT 2008
#4321: Feed validation error with html in categories
---------------------------+------------------------------------------------
Reporter: devil1591 | Owner: westi
Type: defect | Status: assigned
Priority: low | Milestone: 2.9
Component: General | Version: 2.2
Severity: minor | Resolution:
Keywords: rss has-patch |
---------------------------+------------------------------------------------
Changes (by lildude):
* keywords: rss needs-patch => rss has-patch
Comment:
The problem is the category name has had things like the ampersand
converted into their HTML Entities. So to clear the warning, it should be
sufficient to decode the $cat_name when producing the feed.
Attached patch (4321-new.diff) does exactly that and allows the feed to
validate without any warnings.
--
Ticket URL: <http://trac.wordpress.org/ticket/4321#comment:7>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list