Shouldn't send emails if there is no email for that author.
git-svn-id: https://develop.svn.wordpress.org/trunk@283 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5e25b738cf
commit
c781ee2d85
@ -88,7 +88,7 @@ if ($ok) {
|
||||
|
||||
$wpdb->query("INSERT INTO $tablecomments VALUES ('0','$comment_post_ID','$author','$email','$url','$user_ip','$now','$comment','0')");
|
||||
|
||||
if ($comments_notify) {
|
||||
if ($comments_notify && '' != $comment_author_email) {
|
||||
|
||||
$notify_message = "New comment on your post #$comment_post_ID ".stripslashes($postdata['Title'])."\r\n\r\n";
|
||||
$notify_message .= "Author : $comment_author (IP: $user_ip , $user_domain)\r\n";
|
||||
|
Loading…
Reference in New Issue
Block a user