WordPress.org

Make WordPress Core

Opened 16 months ago

Last modified 16 months ago

#20050 new defect (bug)

Proper Cap check in edit_comments.php

Reported by: nprasath002 Owned by:
Priority: normal Milestone: Awaiting Review
Component: Comments Version: 3.3.1
Severity: normal Keywords: has-patch
Cc:

Description

See #20025.
As in edit.php?post_type=custom_post_type
and edit-tags.php?taxonomy=custom_taxonomy

When filtering comments for a specific post type
The fix in cap is more appropriate

Attachments (1)

edit_comments.patch (1.0 KB) - added by nprasath002 16 months ago.
cap check in edit_comments.php

Download all attachments as: .zip

Change History (2)

nprasath00216 months ago

cap check in edit_comments.php

comment:1 nprasath00216 months ago

The patch want work. If there in no post type defined.
This requires some more work. Will update the patch

Note: See TracTickets for help on using tickets.