Don't set comment_author_email for pings in MT import. fixes #4461

git-svn-id: http://svn.automattic.com/wordpress/trunk@6101 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
markjaquith 2007-09-13 04:10:36 +00:00
parent ec6416ec0b
commit b9dcf3c0c3

View File

@ -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 )