[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
Mon Feb 28 21:22:13 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 | Keywords:
---------------------------+-----------------------------
I'm not certain if I should classify this as a bug or as a need to revise
wording in the options menu, or if I should put in a feature request for a
refined option...
...but...
If, under Settings->Discussion you have "An administrator must always
approve the comment" checked, if the author of the post receiving the
comment has the "edit_comment" capability, they will receive an email
notification to moderate the comment in the queue.
After viewing the wp_notify_moderator function for 3.1 in pluggable.php
(and comparing it to 3.0.5's version) I can see this functionality seems
to be coded in by design.
What's confusing is that the option reads "An administrator must always
approve the comment" and it's difficult to discern if that means the user
role of "Administrator" or anyone who can be an "administrator" of the
comments.
It's also hard to tell from the reading of the option text whether or not
this means that the function is implemented incorrectly, or if the option
is simply poorly worded.
In either case, it would be useful to be able to have more granular
control over who is getting these email notifications for comment
moderation.
Failing that, if the "An administrator must always approve the comment" is
checked, that should mean that only users with the "Administrator" role
should be able to approve the comment.
...depending on what the expected behavior of this functionality is meant
to be.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16705>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list