﻿id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc
9447,xmlrpc blogger_deletePost() is broken,scoopnz,josephscott,"hey

I needed to remotely delete posts,
so used xmlrpc to metaWeblog.deletePost
in Wordpress 2.7.1

This failed!

After some debugging i found that  function blogger_deletePost()
in xmlrpc.php started args from 1, whereas it should start from 0.

ie, OLD CODE 

        function blogger_deletePost($args) {
                $this->escape($args);

                $post_ID     = (int) $args[1];
                $user_login  = $args[2];
                $user_pass   = $args[3];
                $publish     = $args[4];

NEW CODE

        function blogger_deletePost($args) {
                $this->escape($args);

                $post_ID     = (int) $args[0];
                $user_login  = $args[1];
                $user_pass   = $args[2];
                $publish     = $args[3];

i can whip up a patch, but i dunno where to submit it.

Also: i have to make changes to timestamp stuff in xmlrpc.php
but this may be local to my timezone.

It does strike me that the xmlrpc  blogger_deletePost()
would NEVER have worked.
",defect (bug),closed,high,,XML-RPC,,normal,invalid,,
