[wp-trac] [WordPress Trac] #18104: deleteComment and editComment do not return the correct error message when the comment does not exist

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 13 17:04:18 UTC 2011


#18104: deleteComment and editComment do not return the correct error message when
the comment does not exist
--------------------------+-----------------------------
 Reporter:  xknown        |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  XML-RPC       |    Version:  3.2
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 As reported in the [http://lists.automattic.com/pipermail/wp-
 xmlrpc/2011-July/000603.html XMLRPC list]:

   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

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/18104>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list