Don't set comment_author_email for pings in MT import. fixes #4461
git-svn-id: https://develop.svn.wordpress.org/trunk@6101 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
74cddbcf72
commit
7ae0df4b21
@ -366,7 +366,7 @@ class MT_Import {
|
||||
if ( 'comment' == $context )
|
||||
$comment->comment_author_email = $email;
|
||||
else
|
||||
$ping->comment_author_email = $email;
|
||||
$ping->comment_author_email = '';
|
||||
} else if ( 0 === strpos($line, "IP:") ) {
|
||||
$ip = trim( substr($line, strlen("IP:")) );
|
||||
if ( 'comment' == $context )
|
||||
|
Loading…
Reference in New Issue
Block a user