Wordpress 2.1 Issue with Ecto
I have been using Ecto to post my blog entries.
Unfortunately, upgrading to Wordpress 2.1 causes Ecto to stop downloading the entries to my computer.
As always, Google is your best friend. ![]()
I did a search on “wordpress 2.1 ecto” and got many entries.
The first entry shows how I can fix the problem (thank you, Erik!).
The issue can be fixed by downloading the xmlrpc.php file from http://trac.wordpress.org/attachment/ticket/3662/3662-xmlrpc-categoryId.diff (thank you, Lloyd!).
I chose to modify the xmlrpc.php file myself. ![]()
Here is the function that I modified:
/* mt.getPostCategories …returns a post’s categories */
function mt_getPostCategories($args) {
.
.
‘categoryId’ => (string) $catid,
.
.
}
All I had to do was to add the category ID type-casting (see the underlined code above).