Title: Comment Reply Email
Author: treeflips
Published: <strong>2020 年 6 月 18 日</strong>
Last modified: 2025 年 6 月 27 日

---

搜索插件

![](https://ps.w.org/comment-reply-email/assets/banner-772x250.png?rev=2331127)

![](https://ps.w.org/comment-reply-email/assets/icon-256x256.png?rev=2326437)

# Comment Reply Email

 作者：[treeflips](https://profiles.wordpress.org/treeflips/)

[下载](https://downloads.wordpress.org/plugin/comment-reply-email.zip)

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

 [支持](https://wordpress.org/support/plugin/comment-reply-email/)

## 描述

This simple plugin automatically sends a notification email to commenters when someone
replies to their comment. This feature can be enabled automatically by the site 
admin, or through an opt-in/opt-out checkbox below comment section on frontend.

It’s best to use it with an email-sending plugin like WP Mail SMTP, and with SMTP
or transactional email service like SendGrid or Mailgun. Sending from your server
via PHPmailer can cause deliverability issues (email notfications caught in spam).

I loved the original plugin [Comment Reply Notification](https://wordpress.org/plugins/comment-reply-notification/)(
by @denishua) for its simplicity but it was abandoned and stopped working years 
ago. So I forked and revived it to work with the latest PHP and WordPress. I also
improved some wording, removed unnecessary author links in the email notifications,
and also keep it more updated. Credits to Denis who first hacked it 5 years ago,
and later Walter for fixing string escapes.

#### Features:

 * Feature modes – disabled, author/admin replies only, automatically, checkbox 
   opt-in.
 * Edit email notification – subject and message.
 * [year] shortcode for dynamic year in email templates.
 * Developer-friendly hook for adding custom shortcodes.
 * Fixes issue with email notifications for moderated comments.
 * Can delete plugin options – after deactivation.

## 屏幕截图

[⌊Checkbox opt-in on frontend.⌉⌊Checkbox opt-in on frontend.⌉[

Checkbox opt-in on frontend.

[⌊Settings screen 1 of 2.⌉⌊Settings screen 1 of 2.⌉[

Settings screen 1 of 2.

[⌊Setting screen 2 of 2.⌉⌊Setting screen 2 of 2.⌉[

Setting screen 2 of 2.

## 安装

 1. Upload the folder comment-reply-email to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Navigate to Manage > Setting > Comment Reply Email to configure the plugin.

## 常见问题

### Does this plugin work with newest WP version and also older versions?

Yes, this plugin works perfect with the latest version of WordPress! It also works
with older versions as well but you should always run the latest WordPress and PHP
version for best security and performance. This plugin is used in my critical sites
so you can be assured it works perfect.

### Will this plugin slow down my site?

No. It’s coded extremely lightweight, no CSS or JS script. It does only the essential
function and nothing more. Very lightweight. No heavy PHP processing or database
queries. I’m an absolute speed fanatic.

### Do you plan to add more features?

Not unless someone wanted to pay for my development time and costs. This was intended
as a free community plugin. I do have to update the default .PO file soon (after
I finalize the wording) so translations can be submitted.

### How do I style the text and checkbox?

With CSS of course! It shouldn’t take any developer more than 15 minutes of time.

### How do I add custom shortcodes to email templates?

Use the `comment_reply_email_content` filter in your theme’s functions.php or custom
plugin. Example:
 `add_filter('comment_reply_email_content', 'my_custom_shortcodes',
10, 2); function my_custom_shortcodes($content, $data) { $content = str_replace('[
my_custom_tag]', 'Custom Value', $content); return $content; }

## 评价

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

### 󠀁[Perfect](https://wordpress.org/support/topic/perfect-10648/)󠁿

 [wulfjump1](https://profiles.wordpress.org/wulfjump1/) 2025 年 1 月 26 日

Does exaktly what it should and very minimalistic, perfect. The missing translations
is not an issue since you an customize the reply email notification and the checkbox
text. 10/10 Thank you!

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

### 󠀁[Does what I need it to](https://wordpress.org/support/topic/does-what-it-says-on-the-tin-598/)󠁿

 [Chris Lovie-Tyler](https://profiles.wordpress.org/chrislt/) 2024 年 4 月 19 日

I love plugins that are focused and do what they say they’ll do. Thanks!

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

### 󠀁[The plugin doesn’t work correctly](https://wordpress.org/support/topic/%d0%be%d1%82%d0%bb%d0%b8%d1%87%d0%bd%d1%8b%d0%b9-%d0%bf%d0%bb%d0%b0%d0%b3%d0%b8%d0%bd-%d1%80%d0%b5%d0%ba%d0%be%d0%bc%d0%b5%d0%bd%d0%b4%d1%83%d1%8e-16/)󠁿

 [baf285](https://profiles.wordpress.org/baf285/) 2023 年 9 月 24 日 2 回复

A month ago, I began to send incorrect messages to the mail. The author doesn’t 
answer. Apparently, the plugin has come to an end.

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

### 󠀁[Nice and clean](https://wordpress.org/support/topic/nice-and-clean-103/)󠁿

 [Jakob Helmer](https://profiles.wordpress.org/jakobuz/) 2023 年 9 月 15 日

thank you for this plug-in!

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

### 󠀁[Very useful plugin!](https://wordpress.org/support/topic/very-useful-plugin-1430/)󠁿

 [Tunn](https://profiles.wordpress.org/iuriem/) 2023 年 4 月 2 日

The plugin is very useful! Thank you!

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

### 󠀁[Superb](https://wordpress.org/support/topic/superb-883/)󠁿

 [McWoozle](https://profiles.wordpress.org/piewackets/) 2022 年 2 月 14 日

Just what I wanted, tried several before I found this one. Very pleased. Thank you

 [ 阅读所有15条评价 ](https://wordpress.org/support/plugin/comment-reply-email/reviews/)

## 贡献者及开发者

「Comment Reply Email」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ treeflips ](https://profiles.wordpress.org/treeflips/)
 *   [ Yin Zhongzhen ](https://profiles.wordpress.org/zeroneit/)

[帮助将「Comment Reply Email」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/comment-reply-email)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.6.0

 * FIX: Emails now send reliably for moderated comments after they are approved.
 * NEW: Added `[year]` shortcode for use in email templates.
 * NEW: Added `comment_reply_email_content` filter for developers to add custom 
   shortcodes.
 * FIX: Corrected a bug that added extra slashes to the email message on save.
 * IMPROVEMENT: Enhanced comment status checking for better reliability.

#### 1.5.1

 * Updated for compatibility with latest WordPress version.

#### 1.5

 * Security patch is added.

#### 1.3

 * Comment form was not shown in a few options under “Send comment reply emails 
   to commenters:”. It was fixed.

#### 1.2

 * There was an issue with the HTML code view directly in email content starting
   from version 1.0.4. This problem arose during the implementation of a security
   update

#### 1.1

 * We updated description of each option more clearly in plugin setting page.
 * In frontend, checkbox option position was changed and placed before the form 
   submit button.
 * Code files were cleaned up for professional.

#### 1.0.5

 * Warning Fix: Warning message “Undefined array key “comment_parent” in comment-
   reply-email.php file.” is fixed. PHP 8.2 version is tested.

#### 1.0.4

 * Security Fix: This plugin was vulnerable to Cross Site Scripting (XSS) and Fixed
   on 08/29/2023. Thank Yebin Lee to report this security problem.

#### 1.0.3

 * PHP Warning Fix: Attempt to read property “comment_parent” on null object.

#### 1.0.2

 * Rename class object to match main class

#### 1.0.1

 * Feature: Add option to change the checkbox text
 * Feature: Added more line-breaks to the default notfication email template.
 * Fix PHP Deprecated method: Methods with the same name as their class will not
   be constructors in a future version of PHP.
 * Fix headers already sent error & deprecated capability functions
 * Fix undefined variable error

#### 1.0.0

Initial Commit. Updated to work with PHP 7.x (fixed mysqli escape strings), improved
wording, admin settings styling. Unfortunately had to delete old translator files.

Was forked from version 1.4 of Denishua’s original [Comment Reply Notfication](https://wordpress.org/plugins/comment-reply-notification/).

1.0.0 Initial release

## 额外信息

 *  版本 **1.6.0**
 *  最后更新：**12 月前**
 *  活跃安装数量 **500+**
 *  WordPress 版本 ** 4.0 或更高版本 **
 *  已测试的最高版本为 **6.8.5**
 *  语言
 * [English (US)](https://wordpress.org/plugins/comment-reply-email/)
 * 标签
 * [comment](https://cn.wordpress.org/plugins/tags/comment/)[email](https://cn.wordpress.org/plugins/tags/email/)
   [notification](https://cn.wordpress.org/plugins/tags/notification/)[reply](https://cn.wordpress.org/plugins/tags/reply/)
 *  [高级视图](https://cn.wordpress.org/plugins/comment-reply-email/advanced/)

## 评级

 4.7 星（最高 5 星）。

 *  [  13 条 5 星评价     ](https://wordpress.org/support/plugin/comment-reply-email/reviews/?filter=5)
 *  [  1 条 4 星评价     ](https://wordpress.org/support/plugin/comment-reply-email/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/comment-reply-email/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/comment-reply-email/reviews/?filter=2)
 *  [  1 条 1 星评价     ](https://wordpress.org/support/plugin/comment-reply-email/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/comment-reply-email/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/comment-reply-email/reviews/)

## 贡献者

 *   [ treeflips ](https://profiles.wordpress.org/treeflips/)
 *   [ Yin Zhongzhen ](https://profiles.wordpress.org/zeroneit/)

## 支持

最近两个月解决的问题：

     总计 1，已解决 0

 [查看支持论坛](https://wordpress.org/support/plugin/comment-reply-email/)

## 捐助

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

 [ 捐助此插件 ](https://www.paypal.me/wpjohnny)