From b9dcf3c0c376b540a7e8164204fd1566f9318725 Mon Sep 17 00:00:00 2001 From: markjaquith Date: Thu, 13 Sep 2007 04:10:36 +0000 Subject: [PATCH] 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 --- wp-admin/import/mt.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/import/mt.php b/wp-admin/import/mt.php index 23ab8fc1cc..182b56981d 100644 --- a/wp-admin/import/mt.php +++ b/wp-admin/import/mt.php @@ -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 )