[wp-trac] [WordPress Trac] #19916: wp.deleteComment, wp.editComment shoud work for authors

WordPress Trac wp-trac at lists.automattic.com
Sun Jan 29 17:24:51 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 nprasath002):

 Replying to [comment:1 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).
 Thats what the patch does.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19916#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list