Search

Table of Contents

moderate_comments

You are here:

What is the moderate_comments permission in WordPress?

Officially, two things are said about the moderate_comments permission:

  • It allows users access to the “Comments” area in WordPress.
  • It will not work unless you also have the edit_posts permission.

Unofficially, you don't need moderate_comments for moderating comments. If you have edit_posts, that allow you access to the “Comments” screen and you can manage comments.

Moderate Comments Links
Moderate Comments Links

So why does anyone need the moderate_comments capability?

The main feature of this permission is that your comments are published automatically. If you do not have the moderate_comments capability, you will see this message after posting a comment: “Your comment is awaiting moderation.” If you do have the the moderate_comments capability, your comments will be published automatically.

Comment
Comment

Who has the moderate_comments permission?

The moderate_comments permission is available on single WordPress sites and on multisite networks.

By default, the moderate_comments permission is only given to Super Admins, Administrators and Editors.

Users not in these roles will not have their comments published automatically.


How to control who has the moderate_comments permission

You can control who has the moderate_comments permission by installing the PublishPress Capabilities plugin.

  • After installing PublishPress Capabilities, go to “Capabilities” in your WordPress admin menu.
  • In “Select Role to View/Edit”, choose the role you want to edit.
  • Check the box “moderate_comments”.
  • Click “Save Changes”.
Moderate Comments Permission
Moderate Comments Permission

Professional publishing plugins for WordPress! Get PublishPress