From 7ae0df4b210fa385505ad545bb473a3b7a27f71e Mon Sep 17 00:00:00 2001 From: Mark Jaquith 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: https://develop.svn.wordpress.org/trunk@6101 602fd350-edb4-49c9-b593-d223f7449a82 --- 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 )