[wp-trac] [WordPress Trac] #14584: HTML entities in category and tag elements
WordPress Trac
wp-trac at lists.automattic.com
Wed Aug 11 05:47:13 UTC 2010
#14584: HTML entities in category and tag elements
--------------------------+-------------------------------------------------
Reporter: lavamind | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Export | Version: 3.0.1
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
The script wp-admin/includes/export.php creates CDATA blocks for category
and tag data which contain HTML entities. Normally, these characters
should appear un-encoded in the CDATA blocks, see #4321.
I suspect this problem may have been considered at some point, but
currently the line in question is commented out :
http://core.trac.wordpress.org/browser/trunk/wp-
admin/includes/export.php?rev=9148#L102
The solution, I think, would be to replace that comment with
html_entity_decode($str)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/14584>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list