maxcutler / python-wordpress-xmlrpc

Python library for WordPress XML-RPC integration
http://python-wordpress-xmlrpc.rtfd.org
MIT License
380 stars 129 forks source link

Result Editpost got bug #128

Open uyin85 opened 5 years ago

uyin85 commented 5 years ago

I edit my custom field value.No error.But the result abnormal. When i login my edit post via Chrome, just click "update" post button, result will ok. How to execute click "update" button command?

value= {"0": {"name": "John", "url": "a.com"},"1":{"name":"Steve","url":"b.com"}} phpObject=loads(dumps(value)) post = WordpressPost() post.tittle = "Name" post.custom_fields =[{"id":"1234","key":"url","value":phpObject}] Client.call(posts.EditPost(13,post))