Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#4461 closed defect (bug) (fixed)

MT Importer assigns e-mail addresses to pingbacks and trackbacks

Reported by: markjaquith's profile markjaquith Owned by:
Milestone: 2.3 Priority: normal
Severity: normal Version: 2.2
Component: General Keywords:
Focuses: 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 (1)

4461-maybe.diff (523 bytes) - added by rob1n 17 years ago.

Download all attachments as: .zip

Change History (4)

#1 @rob1n
17 years ago

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.

@rob1n
17 years ago

#2 @rob1n
17 years ago

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

#3 @markjaquith
17 years ago

  • Resolution set to fixed
  • Status changed from new to closed

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

Note: See TracTickets for help on using tickets.