Opened 9 years ago
Last modified 6 months ago
#14584 reopened defect (bug)
HTML entities in category and tag elements
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.1 |
Component: | Export | Keywords: | has-patch needs-testing |
Focuses: | Cc: | ||
PR Number: |
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 (5)
Change History (11)
#2
@
5 years ago
- Resolution set to worksforme
- Status changed from new to closed
Confirmed and tested refreshed patch (14584v3.diff) on 4.1-alpha-30000.
Tested import unaffected by change to more compliant CDATA format.
Note: See
TracTickets for help on using
tickets.
Patch refresh