The default author role does not have the moderate_comments
capabilities so you need to add that capability to the author role, so add this to your plugin:
function add_theme_caps() {
$role = get_role( 'author' ); // gets the author role
$role->add_cap( 'moderate_comments' ); // would allow the author to moderate comments
}
add_action( 'admin_init', 'add_theme_caps');
Related Posts:
- How to change the email notification recipient (user) for new comments?
- Change Comment Author Display Name
- 3 moderators to approve comment
- Check If comment author is registered
- Comment Author Name In Reply Form
- How to auto-approve internal pingbacks?
- Display all comments or recent comments per user on author page
- Exclude internal links from comment moderation?
- Multiple Comment Moderators and Notifications
- how to make author to write comment on only his own posts?
- Add delete, approve, spam Links to Comments
- How to check if commenter is the_author?
- Let user edit his own comment
- Get the number of comments awaiting moderation
- Capability for allowing user to post own comments without moderation
- edit comments capability for authors
- Why do comment moderators need to have all create/edit/delete toboth posts and pages?
- Community Moderation Plugin for Comments [closed]
- Allow contributors to moderate comments comments on posts they write
- Hold comments for moderation only if user is not logged in
- Why are authors allowed to approve comments on their posts? How to revoke privilege?
- show if comment is in moderation
- Reject Comments Based on Author Email
- Hide notifications regarding new comments
- List user comments in author page
- WordPress comments on users profile
- How to moderate (manually approve) comments of a specific (registered) User
- Comment displaying full name even after setting another display name?
- Comment Moderation and CDN Caching
- Same email for all comments
- WordPress comments – how to check if comment still needs to be approved?
- Notify post author for a new comment on his post?
- Why does akismet prevent jetpack comments from appearing in my moderation queue? [closed]
- How many members have made comments approved for an article?
- Commentlist: bypostauthor problem with children list
- How Do I Allow Comment Moderation for Other User’s Posts?
- Only Allow post author and “Premium” Role user to comment
- Sending comment notifications to different recipients depending on taxonomy terms
- get_comment_author_link not working properly
- Get Comment Author ID on the fly while posting
- Who approved a comment, to show up in dashboard
- How can I hide comment of the authors from their published posts?
- WordPress Custom Local Avatar not showing in comments
- Attaching author tag to the comment
- How to prevent users/authors from seing IP/email of new commentators?
- Author name length character limit?
- Comments counter only for Authors Posts
- Can I allow registered users to comment without being logged in or having to be approved?
- Comment moderation
- Comments pagination on author page
- Change author, disable comments, enable trackbacks for all items in library
- Prevent author from editing comments from others in their post
- Disable comment moderation in multisite
- URLs to user page is broken
- How to ‘If Author’ Comments Check
- Auto approve all comments (editor)
- Comment Blacklist
- Embed a page within WordPress dashboard?
- comment awaiting moderation
- Customize the new comment notifications sent to the post author after the comment is approved
- R: Comment out block of code
- Comments not appearing at all
- A plugin where users can comment with Facebook or Twitter or OpenID [closed]
- Comment Count for each Comment Author
- Sticky Comments
- Comments number message in password protected post
- Disable Comments Feed
- Use rich text editor in comments?
- Report spam button
- Recent comments from my blogs only
- Disable or Enable Comments on Front end [closed]
- Auto-fill Custom comment fields
- Highlighting the current users comment
- How to make all the posts commentable by default? Imputs in Settings/Discussions are not saved
- Is it possible to embed github gists in wordpress comments?
- Using defer or async JavaScript attributes prevents pingbacks and trackbacks from being sent
- Why do I have to manually approve comments from one of my users who already has an approved comment?
- How to convert WordPress comments to bbPress replies [closed]
- comments_number not displaying
- Insert Ads “into” comments section in Genesis Themework
- How to permanently delete pages I have already trashed?
- Additional content every x comments
- How to display category name from commenter’s custom post
- What’s the difference with trash_comment and wp_trash_comment?
- How can i change the order of comments?
- Refresh individual comment text via API
- How do I refresh “Post Last Modified Time”, as long as comment is updated to Approve status?
- Need to output comment_form() function inside a foreach loop
- Comment field override
-   not working in comments
- Badges for Guests based on their comment counts [closed]
- How can I output the slug of a comment author?
- Comments Template shows, but not the comments
- Force logged in users to provide more data when commenting
- How do I get the comments section to show up?
- By Default, Turn Comments Off for Pages & Leave Comments On for Posts
- Getting thousands of spam comments
- Preferred method to get comment reply link for comments with a depth of 0
- How to remove email id & website box in wordpress comment
- Easily invalidate form in comment_post hook