diff --git a/wp-admin/import/blogger.php b/wp-admin/import/blogger.php index 9dc05c9bca..20585d5c59 100644 --- a/wp-admin/import/blogger.php +++ b/wp-admin/import/blogger.php @@ -509,10 +509,10 @@ class Blogger_Import { $post_content = str_replace('
', '
', $post_content); // Checks for duplicates - if ( - isset( $this->blogs[$importing_blog]['posts'][$entry->old_permalink] ) || - post_exists( $post_title, $post_content, $post_date ) - ) { + if ( isset( $this->blogs[$importing_blog]['posts'][$entry->old_permalink] ) ) { + ++$this->blogs[$importing_blog]['posts_skipped']; + } elseif ( $post_id = post_exists( $post_title, $post_content, $post_date ) ) { + $this->blogs[$importing_blog]['posts'][$entry->old_permalink] = $post_id; ++$this->blogs[$importing_blog]['posts_skipped']; } else { $post = compact('post_date', 'post_content', 'post_title', 'post_status');