[wp-trac] [WordPress Trac] #19998: Feeds can contain characters that are not valid XML

WordPress Trac noreply at wordpress.org
Mon Jul 3 06:51:21 UTC 2017


#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 needs-unit-tests  |     Focuses:
----------------------------------------+------------------------------

Comment (by marco.marsala):

 You can simply use PHP DomDocument->saveXml() to escape XML

--
Ticket URL: <https://core.trac.wordpress.org/ticket/19998#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list