On Jun 15, 2007, at 12:10 AM, Allan Odgaard wrote:
I am forwarding you this, as I don’t think you’re subscribed.
Thanks. Correct, I'm not subscribed, although I've been reading this thread via the archives. I can't realistically keep up with all of the lists where WordPress XML-RPC issues might come up, so if you don't mind making me aware of them I'm happy to work on them as they arise.
Begin forwarded message:
From: "Christoph Koehler" christoph.koehler@gmail.com Date: 15. Jun 2007 05:14:40 GMT+02:00 To: textmate@lists.macromates.com Subject: [TxMt] Re: Wordpress 2.2 and Pings/Comments Reply-To: TextMate users textmate@lists.macromates.com
I've deployed the patch for this to all wordpress.com blogs. There is also a ticket for wordpress.org:
http://trac.wordpress.org/ticket/4469
I'll follow up and make sure the committers there are aware of it.
Thanks for point this out and doesn't hesitate to contact me about any other questions/issues/bugs that come up in XML-RPC for WordPress.
Thanks for the quick action! That's really amazing! I tested the patch on my local install and comments work fine now, but pings are still always disabled.
I tested it against my local install as well and both ping and comments settings worked as expected. I did this with a PHP script though, not TextMate. Christoph can you (or someone else) confirm exactly what TextMate is sending over the wire? A dump of the exact XML data that is being sent might provide some clues as to why ping status isn't being properly set.
-- Joseph Scott http://joseph.randomnetworks.com/
On Fri, 15 Jun 2007 11:43:41 -0500, Joseph Scott joseph@automattic.com wrote:
I tested it against my local install as well and both ping and comments settings worked as expected. I did this with a PHP script though, not TextMate. Christoph can you (or someone else) confirm exactly what TextMate is sending over the wire? A dump of the exact XML data that is being sent might provide some clues as to why ping status isn't being properly set.
Here it is, it's long:
<?xml version="1.0"?> <methodCall> <methodName>metaWeblog.editPost</methodName> <params> <param> <value> <string>28</string> </value> </param> <param> <value> <string>username</string> </value> </param> <param> <value> <string>password</string> </value> </param> <param> <value> <struct> <member> <name>mt_allow_pings</name> <value> <string>open</string> </value> </member> <member> <name>mt_allow_comments</name> <value> <string>open</string> </value> </member> <member> <name>title</name> <value> <string>Title</string> </value> </member> <member> <name>categories</name> <value> <array> <data> <value> <string>Category 1</string> </value> </data> </array> </value> </member> <member> <name>description</name> <value> <string>Some text</string> </value> </member> <member> <name>mt_text_more</name> <value> <string>Some more text</string> </value> </member> </struct> </value> </param> <param> <value> <boolean>1</boolean> </value> </param> </params> </methodCall>
It looks okay, so not sure what's wrong. I may have done something wrong applying the patch, so if someone else could test it, I would gladly be proven wrong.
Thanks!
Christoph