[wp-trac] [WordPress Trac] #19998: Feeds can contain characters that are not valid XML
WordPress Trac
noreply at wordpress.org
Tue Mar 10 20:47:13 UTC 2015
#19998: Feeds can contain characters that are not valid XML
--------------------------+------------------------------
Reporter: westi | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Feeds | Version: 3.3.1
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------------------
Comment (by stevenkword):
@mdgl I've created a project on GitHub (https://github.com/stevenkword
/Finely-Tuned-Feeds) where I am taking a look a the bigger XML escaping
problem. The plugin introduces the methods `strip_for_xml()` and
`esc_xml()`. It also includes a few patches from throughout the feeds
component which can be toggled via filters. I also have a few test cases
in there, but are by no means complete yet.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/19998#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list