WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#4406 closed defect (bug) (fixed)

Blogger importer can orphan comments on already imported posts

Reported by: foolswisdom Owned by:
Milestone: 2.3 Priority: high
Severity: major Version: 2.2
Component: Administration Keywords: has-patch
Focuses: Cc:

Description

Blogger importer can orphan comments on already imported posts

Problem identified and fixed on WordPress.com by Andy.

When the posts already existed but had new comments the new comments were orphaned.

If you have encountered this problem, apply this patch, delete only the comments where comment_post_id=0 and rerun the import, that should do it. You could delete more but you don't have to.

Attachments (1)

4406.diff (911 bytes) - added by foolswisdom 7 years ago.
Patch should apply to both 2.2 and trunk.

Download all attachments as: .zip

Change History (5)

foolswisdom7 years ago

Patch should apply to both 2.2 and trunk.

comment:1 foolswisdom7 years ago

  • Keywords has-patch added

comment:2 foolswisdom7 years ago

  • Milestone changed from 2.2.2 to 2.2.3

comment:3 foolswisdom7 years ago

  • Milestone changed from 2.2.3 to 2.3

comment:4 ryan7 years ago

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

(In [6043]) Fix comment orphaning in blogger importer. Props andy. fixes #4406

Note: See TracTickets for help on using tickets.