Ticket #4461 (closed defect (bug): fixed)

Opened 2 years ago

Last modified 1 year ago

MT Importer assigns e-mail addresses to pingbacks and trackbacks

Reported by: markjaquith Assigned to: anonymous
Priority: normal Milestone: 2.3
Component: General Version: 2.2
Severity: normal Keywords:
Cc:

Description

They appear to either be the e-mail addresses from other comments. Maybe they're leaking through because a variable isn't being unset properly.

Attachments

4461-maybe.diff (0.5 kB) - added by rob1n on 06/14/07 02:34:19.

Change History

06/14/07 02:33:32 changed by rob1n

Lines 366 through 369 of wp-admin/import/mt.php:

if ( 'comment' == $context )
	$comment->comment_author_email = $email;
else
	$ping->comment_author_email = $email;

We can probably yank that second else statement and be done with it.

06/14/07 02:34:19 changed by rob1n

  • attachment 4461-maybe.diff added.

06/14/07 02:34:32 changed by rob1n

I've never run MT before... does that do it?

09/13/07 04:10:36 changed by markjaquith

  • status changed from new to closed.
  • resolution set to fixed.

(In [6101]) Don't set comment_author_email for pings in MT import. fixes #4461