[wp-trac] [WordPress Trac] #8013: CDATA block in post content trips up XMLRPC interface

WordPress Trac noreply at wordpress.org
Fri Nov 14 13:23:33 UTC 2025


#8013: CDATA block in post content trips up XMLRPC interface
--------------------------+--------------------------
 Reporter:  redsweater    |       Owner:  josephscott
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  XML-RPC       |     Version:  2.6.1
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+--------------------------

Comment (by taffneyrena):

 When I tried this using a simple PHP script the IXR XML-RPC library it
 sent <![CDATA[Hello]]> encoded as <![CDATA[Hello]]> which worked
 fine. The raw database post content was <![CDATA[Hello]]>. I think the
 right think to do then is to encode both sets of angle brackets.

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


More information about the wp-trac mailing list