WordPress.org

Make WordPress Core

Opened 3 years ago

#14584 new defect (bug)

HTML entities in category and tag elements

Reported by: lavamind Owned by:
Priority: normal Milestone: Awaiting Review
Component: Export Version: 3.0.1
Severity: normal Keywords:
Cc:

Description

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)

Attachments (1)

14584.diff (2.2 KB) - added by lavamind 3 years ago.

Download all attachments as: .zip

Change History (1)

lavamind3 years ago

Note: See TracTickets for help on using tickets.