Ticket #17909 (closed enhancement: fixed)
admin-ajax.php should use edit_comment capability
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.3 |
| Component: | Administration | Version: | 3.2 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | devin@… |
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
Change History
ejdanderson — 11 months ago
-
attachment
admin-ajax.diff
added
- Keywords 3.3-early added
- Milestone changed from Awaiting Review to Future Release
- Keywords 3.3-early removed
- Milestone changed from Future Release to 3.2.1
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.