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
This commit is contained in:
parent
c04ff4672e
commit
bbc5b2da00
@ -21,7 +21,7 @@ $comment_content = $_POST['comment'];
|
|||||||
// If the user is logged in
|
// If the user is logged in
|
||||||
get_currentuserinfo();
|
get_currentuserinfo();
|
||||||
if ( $user_ID ) :
|
if ( $user_ID ) :
|
||||||
$comment_author = $user_login;
|
$comment_author = $user_identity;
|
||||||
$comment_author_email = $user_email;
|
$comment_author_email = $user_email;
|
||||||
$comment_author_url = str_replace('http://', '', $user_url);
|
$comment_author_url = str_replace('http://', '', $user_url);
|
||||||
else :
|
else :
|
||||||
|
Loading…
Reference in New Issue
Block a user