{"id":11263390,"date":"2019-03-01T13:49:07","date_gmt":"2019-03-01T13:49:07","guid":{"rendered":"https:\/\/wordpress.org\/support\/?post_type=helphub_article&p=11263390"},"modified":"2023-08-24T14:15:12","modified_gmt":"2023-08-24T14:15:12","slug":"comment-moderation","status":"publish","type":"helphub_article","link":"https:\/\/wordpress.org\/documentation\/article\/comment-moderation\/","title":{"rendered":"Comment moderation"},"content":{"rendered":"\n

Comment moderation is a feature in WordPress that allows you to prevent comments from appearing on your site without your express approval. Moderation can be very useful in addressing Comment Spam<\/a>, but it has more general applications as well. If you would like to learn more about comment spam, see Fighting Comment Spam<\/a>.<\/p>\n\n\n\n

How moderation works<\/h2>\n\n\n\n

WordPress runs a number of tests on each new comment before posting it to your blog. If a comment fails one of these tests, it is not displayed immediately on the site but is placed in a queue for moderation<\/strong>, the process of manual approval or deletion by the blog’s administrator.<\/p>\n\n\n\n

Controlling moderation<\/h2>\n\n\n\n

You can control which comments get held for moderation on your Settings Discussion Screen<\/a> page, which is located under Settings<\/a> \u2192<\/span> Discussion<\/a>.<\/p>\n\n\n\n

If you would like every comment to be held for moderation, check the Comment must be manually approved<\/strong> option, listed under Before a comment appears<\/strong>.<\/p>\n\n\n\n

If you would like to send suspicious comments to the moderation queue, while letting innocent comments through, you will need to specify a set of rules for determining which comments are suspicious. These rules are specified in on the Settings<\/a> \u2192<\/span> Discussion<\/a> > Comment Moderation.<\/p>\n\n\n\n

The first option is to hold comments for moderation if they contain an unusually large number of hyperlinks. Most normal comments contain at most one or two links while spam comments often have a large number. Look at your own comments and set this to a value that makes sense for your audience. (Note: In version 1.5.2, and possibly others, if you do not put a number in the comment moderation links box, in other words, if this box is completely blank, all anonymous comments (and possibly others) are sent to the Manage Comments SubPanel for moderation, even if the Discussion Options Subpanel has no restrictions set.)<\/p>\n\n\n\n

The second option is to specify a set of moderation keys<\/strong> which, if present in any part of the comment, will cause it to be held for moderation. These keys are specified one per line in the large text area, which is blank by default. Moderation keys can include Spam Words, swear words, IP addresses<\/a>, and Regular Expressions<\/a>.<\/p>\n\n\n\n

When you add a new moderation key, it’s a good idea to test its validity by checking previous comments. Simply use the link entitled Check past comments against moderation list<\/strong>, which is located underneath the text box containing moderation keys. This asks WordPress to check previous comments and tell you which ones would be flagged for moderation under your new set of keys.<\/p>\n\n\n\n

Of course this means that there may be a lot of comments that you don’t want on your site caught in the moderation queue, and in this case we’ve tried to make it as easy as possible to manage large numbers of comments quickly. See the articles on Fighting Comment Spam<\/a> for more information and resources.<\/p>\n\n\n\n

Comment blocking<\/h2>\n\n\n\n

The box marked\u00a0Disallowed Comment Keys<\/strong>\u00a0works in exactly the same way as the comment moderation box, except that comments that match these words will be\u00a0deleted immediately<\/strong>\u00a0and\u00a0without notification<\/strong><\/em>. So be careful! Genuine comments could be deleted without you ever knowing they were there.<\/p>\n\n\n\n

Managing incoming comments<\/h2>\n\n\n\n

Once you start receiving comments on your site, you can check the status of comments quickly by looking at the dashboard, the admin bar, or the left navigation menu. When you log in, the dashboard’s “Activity” box will show you the status of your comments. Hover over a comment to see your moderation options. From “Activity – Comments” you can approve, reply, edit, mark as spam, or trash comments. Alternatively, you can look to see if there is a number next to the comment bubble in the admin bar or “Comments” in the left navigation. This number represents how many pending comments require your attention.<\/p>\n\n\n\n

Moderating comments with the comment screen<\/h3>\n\n\n\n
\"\"<\/figure>\n\n\n\n

WordPress makes moderating your users’ comments a simple process. The Comments Screen<\/a> lays out the basic information about each comment and lets you decide what to do with it.<\/p>\n\n\n\n

    \n
  1. Commenter Gravatar<\/a><\/li>\n\n\n\n
  2. Commenter Name<\/li>\n\n\n\n
  3. Commenter Website URL<\/li>\n\n\n\n
  4. Commenter Email Address<\/li>\n\n\n\n
  5. Commenter IP Address<\/li>\n\n\n\n
  6. Time and Date<\/a> Comment was submitted<\/li>\n\n\n\n
  7. Comment Text<\/li>\n\n\n\n
  8. Comment Moderation Options. You can approve, spam or trash a comment with one click. Reply, Quick Edit or Edit will open up a new screen for you to write a reply to the comment or edit the comment.<\/li>\n\n\n\n
  9. Post Name<\/li>\n\n\n\n
  10. Number of Comments on the Post, Link to View Post<\/li>\n<\/ol>\n\n\n\n

    Bulk edit comments<\/h3>\n\n\n\n
    \"\"<\/figure>\n\n\n\n

    Like the posts and Pages screens, the Comments screen supplies a Bulk Action drop-down box. Select the comments you want to edit, and then select Unapprove, Approve, Mark as Spam, or Move to Trash from the drop-down and click “Apply.”<\/p>\n","protected":false},"excerpt":{"rendered":"

    Comment moderation is a feature in WordPress that allows you to prevent comments from appearing on your site without your express approval. Moderation can be very useful in addressing Comment Spam, but it has more general applications as well. If you would like to learn more about comment spam, see Fighting Comment Spam. How moderation works WordPress […]<\/p>\n","protected":false},"featured_media":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","category":[86,78],"class_list":["post-11263390","helphub_article","type-helphub_article","status-publish","hentry","category-publishing","category-support-guides"],"revision_note":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/articles\/11263390","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/articles"}],"about":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/types\/helphub_article"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/comments?post=11263390"}],"version-history":[{"count":3,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/articles\/11263390\/revisions"}],"predecessor-version":[{"id":16358700,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/articles\/11263390\/revisions\/16358700"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/media?parent=11263390"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wordpress.org\/documentation\/wp-json\/wp\/v2\/category?post=11263390"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}