How can I host html content for wordpress using xmlrpc?

I have a script to send some data to wordpress using xmlrpc.

If I use a simple string for a body like "This is a test", it works fine.

However, if it has HTML formatting, it becomes terribly distorted when trying to add a message.

How to host html content for wordpress using xmlrpc?

+4
source share
1 answer

Here is a plugin that fixes the problem with some versions of the xml library that shares the html: Plugin - LibXML2 Fix | Joseph Scott

+3
source

Source: https://habr.com/ru/post/1313005/


All Articles