While logged in on my blog and creating a comment it says:
‘Leave a Reply
Logged in as Dan. Logout »’
But after the comment is posted it shows my User login as the author of the comment, instead of my display name which is Dan.
So I easily fixed it by changing the wp-comments-post.php file to look at the right table.
Open wp-comments-post.php:
Change
$comment_author = $user_login;
on line 24 to:
$comment_author = $user_nickname;
Notice it was calling the login table and not the nickname table. I wonder if it should call the niename table instead, no, I didn’t think so.
