[wp-trac] [WordPress Trac] #19916: wp.deleteComment, wp.editComment shoud work for authors
WordPress Trac
wp-trac at lists.automattic.com
Sun Jan 29 16:52:32 UTC 2012
#19916: wp.deleteComment, wp.editComment shoud work for authors
--------------------------+------------------------------
Reporter: nprasath002 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: XML-RPC | Version: 3.3.1
Severity: normal | Resolution:
Keywords: has-patch |
--------------------------+------------------------------
Comment (by maxcutler):
I think removing the cap check is the wrong approach. Instead of checking
'moderate_comments', it should really just check the 'edit_comment' meta-
cap (which takes the comment ID as a parameter).
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19916#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list