Max Cutler
Max Cutler
The fields of``WordPressPost` are indeed documented at http://python-wordpress-xmlrpc.readthedocs.org/en/latest/ref/wordpress.html#wordpresspost The WordPress XML-RPC API is inconsistent in its use of terms, and "user" is more often used than "author". `WordPressComment` and `WordPressAuthor`...
You want to use a string with the value "open" or "closed". Also, an example in the unit tests: https://github.com/maxcutler/python-wordpress-xmlrpc/blob/master/tests/test_posts.py#L43
I'll add some documentation for this in the next release.
In version 2.3 I've exposed a `transport` parameter that you can pass with your custom transports. I'm not sure it makes sense to bundle particular transports in the library, but...
It looks like this may be a bug on the WordPress side, you are using the library correctly. I'll take a closer look and submit a patch to WordPress if...