Skip Menu |

This queue is for tickets about the WordPress-XMLRPC CPAN distribution.

Report information
The Basics
Id: 52869
Status: resolved
Worked: 10 min
Priority: 0/
Queue: WordPress-XMLRPC

People
Owner: leocharre [...] cpan.org
Requestors: alanhaggai [...] alanhaggai.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.22
Fixed in: (no value)



Hi, This module has been very helpful. Thank you. :-) Just wanted to let you know about a minor error with editPage(). It accepts three arguments instead of two. The attached patch seems to correct it. Regards, Alan Haggai Alavi. -- The difference makes the difference
Subject: editPage.patch
--- a/XMLRPC.pm 2009-12-17 22:03:46.000000000 +0530 +++ b/XMLRPC.pm 2009-12-17 22:07:53.000000000 +0530 @@ -300,8 +300,8 @@ sub editPage { my $self = shift; my $blog_id = $self->blog_id; - my $page_id = shift; my $content = shift; + my $page_id = $content->{page_id}; my $publish = shift; my $password = $self->password; my $username = $self->username;
Thanks, this is resolved in WordPress-XMLRPC-1.23.tar.gz, should be indexed in a few minutes.