Title: Never Moderate Registered Users
Author: Scott Reilly
Published: <strong>2010 年 9 月 13 日</strong>
Last modified: 2025 年 4 月 15 日

---

搜索插件

![](https://ps.w.org/never-moderate-registered-users/assets/banner-772x250.png?rev
=833712)

![](https://ps.w.org/never-moderate-registered-users/assets/icon-128x128.png?rev
=976002)

# Never Moderate Registered Users

 作者：[Scott Reilly](https://profiles.wordpress.org/coffee2code/)

[下载](https://downloads.wordpress.org/plugin/never-moderate-registered-users.2.3.6.zip)

 * [详情](https://cn.wordpress.org/plugins/never-moderate-registered-users/#description)
 * [评价](https://cn.wordpress.org/plugins/never-moderate-registered-users/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/never-moderate-registered-users/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/never-moderate-registered-users/#developers)

 [支持](https://wordpress.org/support/plugin/never-moderate-registered-users/)

## 描述

This plugin prevents comments from registered users (or, alternatively, those with
specified capabilities) from ever going into the moderation queue or getting automatically
marked as spam, regardless of the apparent spamminess of the comment.

To be recognized as a registered user, the user must be logged into your site at
the time they post their comment.

This plugin assumes that you trust your registered users. It will automatically 
approve any comment made by registered users, even if the comment stinks of spam.
Therefore, it is recommended that you do not allow users to register themselves (
uncheck the setting “Anyone can register” in the WordPress admin under Settings -
> General).

You can still allow open registration, whereby these “subscribers” are moderated
as usual, while other more privileged users do not get moderated. The plugin provides
a filter, ‘c2c_never_moderate_registered_users_caps’, which allows you to specify
the roles and capabilities that can bypass moderation. See the FAQ for an example.

This plugin is a partial successor to my now-defunct Never Moderate Admins or Post
Author plugin. In addition to preventing admins and the post’s author from being
moderated, that plugin also allowed you to prevent registered users from being moderated.
WordPress has long since integrated that functionality, so the main thrust of that
plugin became moot. However, the ability to never moderate registered users is still
a valid need that requires this plugin.

Links: [Plugin Homepage](https://coffee2code.com/wp-plugins/never-moderate-registered-users/)
| [Plugin Directory Page](https://wordpress.org/plugins/never-moderate-registered-users/)
| [GitHub](https://github.com/coffee2code/never-moderate-registered-users/) | [Author Homepage](https://coffee2code.com)

### Developer Documentation

Developer documentation can be found in [DEVELOPER-DOCS.md](https://github.com/coffee2code/never-moderate-registered-users/blob/master/DEVELOPER-DOCS.md).
That documentation covers the numerous hooks provided by the plugin. Those hooks
are listed below to provide an overview of what’s available.

 * `c2c_never_moderate_registered_users_caps` : Customize the capabilities that 
   are automatically trusted, any one of which a user must have in order to never
   get moderated.
 * `c2c_never_moderate_registered_users_approved` : Customize granular control for
   whether a comment by a registered user that would otherwise be moderated or marked
   as spam should automatically be approved.

## 安装

 1. Install via the built-in WordPress plugin installer. Or install the plugin code
    inside the plugins directory for your site (typically `/wp-content/plugins/`).
 2. Activate the plugin through the ‘Plugins’ admin menu in WordPress
 3. Optional: Use one or more of the provided hooks in custom code to control specific
    capabilities that should be exempted from moderation and spam or to control the
    feature on a comment-by-comment basis.

## 常见问题

### Hey, why did I get some obvious spam from a registered user?

This plugin assumes that any comment made by a registered user (or a user with a
specified capabilities) is not spam, regardless of the spamminess of their comment.
If you don’t trust your registered users you probably shouldn’t have this plugin
activated. Or at least follow the directions above to increase the minimum threshold
for trusted users.

### I don’t trust registered users who are just “subscribers”, but I trust “contributors”; can this plugin moderate accordingly?

Yes. You can specify the capabilities and roles that can bypass moderation. See 
the example provided for the ‘c2c_never_moderate_registered_users_caps’ filter.

### Does this plugin have unit tests?

Yes. The tests are not packaged in the release .zip file or included in plugins.
svn.wordpress.org, but can be found in the [plugin’s GitHub repository](https://github.com/coffee2code/never-moderate-registered-users/).

## 评价

![](https://secure.gravatar.com/avatar/0427028d01a8df2129cf2184770ea99ceb1471ec204a890bf33ea23c56b89d5c?
s=60&d=retro&r=g)

### 󠀁[Do exactly what it say](https://wordpress.org/support/topic/do-exactly-what-it-say/)󠁿

 [Marco Buttarini](https://profiles.wordpress.org/webgrafia/) 2024 年 1 月 30 日

I love this minimal plugins that do exactly what is expected, without unuseful stuff.
Is incredible that this small feature is not natively supported by WordPress

![](https://secure.gravatar.com/avatar/8e347c269dd56567539edb0eab14d6e7792d4b1a7a0ca048e0742fafeb707c6b?
s=60&d=retro&r=g)

### 󠀁[Programmeur uniquement](https://wordpress.org/support/topic/programmeur-uniquement/)󠁿

 [patprov](https://profiles.wordpress.org/patprov/) 2018 年 6 月 1 日 3 回复

J’ai beau chercher, mais vu que tout ramène à du php, je pense que ce plugin est
destiné aux programmeurs d’autres plugin. Pour un utilisateur lambda, autant intaller
un distributeur de barbe à papa sur votre site, vous obtiendrez la même chose….rien.

 [ 阅读所有3条评价 ](https://wordpress.org/support/plugin/never-moderate-registered-users/reviews/)

## 贡献者及开发者

「Never Moderate Registered Users」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Scott Reilly ](https://profiles.wordpress.org/coffee2code/)

[帮助将「Never Moderate Registered Users」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/never-moderate-registered-users)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/never-moderate-registered-users/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/never-moderate-registered-users/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/never-moderate-registered-users/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/never-moderate-registered-users/)。

## 更新日志

#### 2.3.6 (2025-04-14)

 * Change: Note compatibility through WP 6.8+
 * Change: Note compatibility through PHP 8.3+
 * Change: Update copyright date (2025)
 * Unit tests:
    - Change: Explicitly define return type for overridden methods

#### 2.3.5 (2024-08-21)

 * Change: Shorten plugin description
 * Change: Note compatibility through WP 6.6+
 * Change: Update copyright date (2024)
 * Change: Reduce number of ‘Tags’ from `readme.txt`
 * Change: Remove development and testing-related files from release packaging
 * Unit tests:
    - Hardening: Prevent direct web access to `bootstrap.php`
    - Change: In bootstrap, store path to plugin directory in a constant

#### 2.3.4 (2023-06-06)

 * Change: Note compatibility through WP 6.3+
 * Change: Update copyright date (2023)
 * New: Add `.gitignore` file
 * Unit tests:
    - Fix: Allow tests to run against current versions of WordPress
    - New: Add `composer.json` for PHPUnit Polyfill dependency
    - Change: Prevent PHP warnings due to missing core-related generated files

#### 2.3.3 (2021-10-05)

 * New: Add DEVELOPER-DOCS.md and move hooks documentation into it
 * Change: Note compatibility through WP 5.8+
 * Change: Tweak installation instruction
 * Unit tests:
    - Change: Restructure unit test directories
       * Change: Move `phpunit/` into `tests/`
       * Change: Move `phpunit/bin` into `tests/`
    - Change: Remove ‘test-‘ prefix from unit test file
    - Change: In bootstrap, store path to plugin file constant
    - Change: In bootstrap, add backcompat for PHPUnit pre-v6.0

_Full changelog is available in [CHANGELOG.md](https://github.com/coffee2code/never-moderate-registered-users/blob/master/CHANGELOG.md)._

## 额外信息

 *  版本 **2.3.6**
 *  最后更新：**1 年前**
 *  活跃安装数量 **50+**
 *  WordPress 版本 ** 3.1 或更高版本 **
 *  已测试的最高版本为 **6.8.5**
 *  语言
 * [English (US)](https://wordpress.org/plugins/never-moderate-registered-users/)
 * 标签
 * [comment](https://cn.wordpress.org/plugins/tags/comment/)[moderation](https://cn.wordpress.org/plugins/tags/moderation/)
   [spam](https://cn.wordpress.org/plugins/tags/spam/)[subscribers](https://cn.wordpress.org/plugins/tags/subscribers/)
   [users](https://cn.wordpress.org/plugins/tags/users/)
 *  [高级视图](https://cn.wordpress.org/plugins/never-moderate-registered-users/advanced/)

## 评级

 4.3 星（最高 5 星）。

 *  [  2 条 5 星评价     ](https://wordpress.org/support/plugin/never-moderate-registered-users/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/never-moderate-registered-users/reviews/?filter=4)
 *  [  1 条 3 星评价     ](https://wordpress.org/support/plugin/never-moderate-registered-users/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/never-moderate-registered-users/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/never-moderate-registered-users/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/never-moderate-registered-users/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/never-moderate-registered-users/reviews/)

## 贡献者

 *   [ Scott Reilly ](https://profiles.wordpress.org/coffee2code/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/never-moderate-registered-users/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=6ARCFJ9TX3522)