alexjamesbrown / JoeBlogs

Wordpress / Metaweblog API Wrapper
53 stars 40 forks source link

Invalid Username/Password when Editing Page #39

Closed MattyBearBytes closed 10 years ago

MattyBearBytes commented 11 years ago

Adding a page is fine, however, when I call EditPage I get the following.

Server returned a fault exception: [403] Incorrect username or password.

Server is reporting that the username that it is receiving is actually what the password is.

When I inspect WordpressWrapper (EditPage method) I can see the correct Username and Password being passed in.

MattyBearBytes commented 11 years ago

Appears that the RPC params for EditPost are in the wrong order... assuming that the order matters in the following documentation http://codex.wordpress.org/XML-RPC_wp#wp.editPage

Will test theory and submit patch if so

arlair commented 10 years ago

Thanks, I came across the same issue and your fix works for me.

alexjamesbrown commented 10 years ago

Feel free to submit a pull request with any fix...

alexjamesbrown commented 10 years ago

Sorry... i missed that you had already!

Merged.

Thanks