[wp-xmlrpc] possible bug: deleteComment, etc say you're not authorized when comment doesn't exist

Ryan B wp-xmlrpc at ryanb.org
Wed Jul 13 15:17:34 UTC 2011


hi wp-xmlrpc! i noticed an odd behavior today with a few methods like
deleteComment and editComment. if you give them a nonexistent comment
id, they say "you're not allowed to moderate this comment," even when
you are allowed. it seems like they should say the comment doesn't
exist. this seems like a bug, since deletePage, etc do tell you that
the page doesn't exist.

can you all confirm? if so, i'll gladly send the patch, it's pretty
trivial. thanks!

--
http://snarfed.org/


More information about the wp-xmlrpc mailing list