From 12c019a901d2f625d262496389fb2a1998bfc247 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Wed, 3 Sep 2003 17:45:45 +0000 Subject: [PATCH] Comments from name even if no email given. git-svn-id: https://develop.svn.wordpress.org/trunk@357 602fd350-edb4-49c9-b593-d223f7449a82 --- b2comments.post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/b2comments.post.php b/b2comments.post.php index 09d3e28489..20c8d23587 100644 --- a/b2comments.post.php +++ b/b2comments.post.php @@ -107,7 +107,7 @@ if ($ok) { // if there was no comment from this IP in the last 10 seconds if ('' != $comment_author_email) { $from = "From: \"$comment_author\" <$comment_author_email>\r\n"; } else { - $from = 'From: "' . stripslashes($blogname) . "\" <$authordata->user_email>\r\n"; + $from = 'From: "' . stripslashes($comment_author) . "\" <$authordata->user_email>\r\n"; } $from .= "X-Mailer: WordPress $b2_version with PHP/" . phpversion();