[wp-trac] [WordPress Trac] #16705: Authors with "edit_comment" capability receive comment moderation emails for their posts when "An administrator must always approve the comment " is checked
WordPress Trac
wp-trac at lists.automattic.com
Fri Aug 26 15:11:31 UTC 2011
#16705: Authors with "edit_comment" capability receive comment moderation emails
for their posts when "An administrator must always approve the comment " is
checked
---------------------------+------------------------------
Reporter: joe.woidpress | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: 3.1
Severity: normal | Resolution:
Keywords: ux-feedback |
---------------------------+------------------------------
Changes (by kevinB):
* cc: kevin@… (added)
Comment:
The problem I see is that as of WP 3.2.1
{{{
user_can($user->ID, 'edit_comment', $comment_id)
}}}
is effectively converted to:
{{{
user_can($user->ID, 'edit_post', $comment->comment_post_ID)
}}}
...but no '''moderate_comments''' requirement is ever imposed.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16705#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list