Linux 软件免费装
Banner图

Comment Moderation/Notification Recipients

开发者 RavanH
更新时间 2026年2月20日 00:40
捐献地址: 去捐款
PHP版本: 3.7 及以上
WordPress版本: 6.9
版权: GPLv3 or compatible
版权网址: 版权信息

标签

comments comment notification comment moderation recipients

下载

0.1 0.2 0.3 0.4 0.5 0.6 0.7

详情介绍:

Normally, when a comment gets submitted to a particular post, the author of that post gets a notification about it. And when a comment is held for moderation (which depends on your sites comment settings) then the moderation notification is sent to both the post Author (if he/she has moderation rights) and the site's Administration E-mail Address as configured under Settings > General at the same time. On colaboration sites or sites managed by a webmaster or designer where the client is the post author, the site admin, with enough on his/her mind already, is bothered with each and every new comment in the moderation queue. This plugin can change that. Just install and activate it: All post comment moderation notifications will be sent only to each respective Post Author. If, by any chance, the post author has no moderation rights (Contributor level) or there is no valid author e-mail set then the default site e-mail address will still get the notification. WordPress Multisite compatible, per-site or network activated or as a must-use plugin. Plugin Settings Options will be added in the future but for now, you can only change the plugin behavior via constants in your wp-config.php file. Add them on a new line in your wp-config.php file, just above the line that sais: /* That's all, stop editing! Happy publishing. */. These constants are currently available:
  1. COMMENT_NOTIFICATION_RECIPIENTS - Controls the New Comment recipients. Default: "wp_default" corresponds with "post_author_only" WordPress default.
  2. COMMENT_MODERATION_RECIPIENTS - Controls the Comment is waiting for Moderation message recipients. Default: "post_author_only".
These options are currently available:
  1. wp_default - The WordPress default behavior. Plugin does nothing.
  2. post_author_only - Send notifications only to the Post Author e-mail address.
  3. site_admin_only - Send notifications only to the Administration Email Address as configured on Settings > General.
Examples: Use define( 'COMMENT_NOTIFICATION_RECIPIENTS', 'site_admin_only' ); to make new comment notifications go to the site admin e-mail address, and no longer the post author. Use define( 'COMMENT_MODERATION_RECIPIENTS', 'post_author_only' ); to make comment moderation notifications only go to the authors e-mail address, and no longer the site administrator address (unless the post author does not have moderation rights).

安装:

Hit install now, provide your site home address and continue to log in on your own site. Easy, by Covered Web Service :)

升级注意事项:

常见问题:

I see no settings page

There is no settings page. See the plugin Description for instructions.

Nothing looks different. Is it working at all?

To test if it is working:

  1. Check your Settings > Discussion settings and make sure that (I) at E-mail me whenever at least A comment is held for moderation and (II) at Before a comment appears at least Comment author must have a previously approved comment are checked.
  2. Open an incognito browser window, go to your site as an anonymous visitor and post a comment to a post from anyone with at least author level (contributor has no moderation rights!) other than the main site administrator.
  3. Switch back to your normal browser window, verify that comment went into the moderation queue, verify that you as site administrator did not receive any moderation e-mail and then ask the post author if he/she did receive the moderation notification correctly :)

I get no messages

This plugin does not send any messages. It only changes the addressee of the comment moderation queue notifications that are sent by WordPress. If nobody get any of these notifications, disable the plugin and test again. You will probably still not get any notifications and the problem lies with WordPress not being able to send emails via PHP. There are other plugins or tutorials about server configuration that can help you with that...

Does this plugin work on WPMU / Multisite mode?

Yep, it was made for Multisite :) You can install it in /plugins/ and activate it site-by-site or network wide. Or you can upload it to /mu-plugins/ for automatic (must-use) inclusion.

更新日志:

0.7 20240119 0.6 20210511 0.5 20170717 0.4 20140904 0.3 20130627 0.1 20101123