From bbc5b2da009be46b7725fce53a1100f237df1aa0 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Sat, 5 Feb 2005 05:38:57 +0000 Subject: [PATCH] Wrong variable - http://mosquito.wordpress.org/view.php?id=786 git-svn-id: https://develop.svn.wordpress.org/trunk@2221 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-comments-post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-comments-post.php b/wp-comments-post.php index bf03915ac6..90494605dc 100644 --- a/wp-comments-post.php +++ b/wp-comments-post.php @@ -21,7 +21,7 @@ $comment_content = $_POST['comment']; // If the user is logged in get_currentuserinfo(); if ( $user_ID ) : - $comment_author = $user_login; + $comment_author = $user_identity; $comment_author_email = $user_email; $comment_author_url = str_replace('http://', '', $user_url); else :