WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 4 years ago

#16129 closed defect (bug)

Incorrect cap check in wp-admin/includes/comment.php : edit_comment() — at Initial Version

Reported by: westi Owned by:
Milestone: 3.1 Priority: normal
Severity: normal Version: 3.1
Component: Administration Keywords: has-patch commit
Focuses: Cc:

Description

Checks current_user_can( 'edit_post', $comment_post_ID )

But should be current_user_can( 'edit_comment', (int) $_POSTcomment_ID? )

Change History (0)

Note: See TracTickets for help on using tickets.