[wp-trac] [WordPress Trac] #24648: Don't exclude uneditable comments in wp_ajax_get_comments
WordPress Trac
noreply at wordpress.org
Mon May 23 19:54:44 UTC 2016
#24648: Don't exclude uneditable comments in wp_ajax_get_comments
-------------------------------------+-----------------------------
Reporter: jfarthing84 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Comments | Version: 3.3
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+-----------------------------
Changes (by rachelbaker):
* keywords: dev-feedback has-patch => has-patch needs-testing
* milestone: Awaiting Review => Future Release
Comment:
Looks like in `wp_dashboard_recent_comments()` we display a comment if the
user has `read_post`. As long as un-approved comments aren't being shown
the `edit_comment` capability check isn't needed.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/24648#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list