<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>WordPress &#8250; Support Tag: notify-on-comment</title>
<link>http://wordpress.org/support/</link>
<description>WordPress &#8250; Support Tag: notify-on-comment</description>
<language>en</language>
<pubDate>Wed, 25 Nov 2009 23:38:50 +0000</pubDate>

<item>
<title>jean01 on "[Plugin: Notify on comment] Subject is Please Moderate when no moderation is required"</title>
<link>http://wordpress.org/support/topic/270843#post-1074650</link>
<pubDate>Fri, 15 May 2009 03:00:16 +0000</pubDate>
<dc:creator>jean01</dc:creator>
<guid isPermaLink="false">1074650@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Figured out how to make it send emails only when moderation is required:&#60;/p&#62;
&#60;p&#62;Find the statement:&#60;br /&#62;
	    @wp_mail($to, $subject, $notify_message, $headers);&#60;br /&#62;
and surround it with the variable checks required to determine that moderation_notify is on and that the comment has not been approved, as in the following:&#60;/p&#62;
&#60;p&#62;//Modify to only send if moderation is required&#60;br /&#62;
        $modereation_required = get_option('moderation_notify');&#60;br /&#62;
        $approved = $comment-&#38;gt;comment_approved ;&#60;br /&#62;
        if($modereation_required AND $approved != 1){&#60;br /&#62;
	    @wp_mail($to, $subject, $notify_message, $headers);&#60;br /&#62;
        }&#60;br /&#62;
	return true;
&#60;/p&#62;</description>
</item>
<item>
<title>jean01 on "[Plugin: Notify on comment] Subject is Please Moderate when no moderation is required"</title>
<link>http://wordpress.org/support/topic/270843#post-1074616</link>
<pubDate>Fri, 15 May 2009 01:37:13 +0000</pubDate>
<dc:creator>jean01</dc:creator>
<guid isPermaLink="false">1074616@http://wordpress.org/support/</guid>
<description>&#60;p&#62;The subject of the email sent is Please moderate . . . even when no moderation is required.&#60;br /&#62;
I would like the author to be sent an email ONLY when the comment required moderation.&#60;br /&#62;
However, I would be OK if the subject distinguished between messages requiring moderation and those not requiring moderation.&#60;/p&#62;
&#60;p&#62;Glad that the plug in works with 2.7.1 as the other similar plug ins do not.&#60;/p&#62;
&#60;p&#62;Thanks&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://wordpress.org/extend/plugins/notify-on-comment/&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/extend/plugins/notify-on-comment/&#60;/a&#62;
&#60;/p&#62;</description>
</item>

</channel>
</rss>
