Opened 13 years ago
Closed 13 years ago
#17909 closed enhancement (fixed)
admin-ajax.php should use edit_comment capability
Reported by: | ejdanderson | Owned by: | |
---|---|---|---|
Milestone: | 3.3 | Priority: | normal |
Severity: | normal | Version: | 3.2 |
Component: | Administration | Keywords: | has-patch |
Focuses: | Cc: |
Description
admin-ajax.php is still using the 'edit_post' capability with respect to the handling of comments, this should be using the 'edit_comment' capability introduced in 3.1
Attachments (1)
Change History (9)
Note: See
TracTickets for help on using
tickets.
Replaces edit_post capability with edit_comment. I believe the 'edit_post' capability is appropriate in the 'get-comments' and 'replyto-comment' cases.