diff --git a/wp-admin/import/wordpress.php b/wp-admin/import/wordpress.php index fe14491a67..a6f5db4bd1 100644 --- a/wp-admin/import/wordpress.php +++ b/wp-admin/import/wordpress.php @@ -413,7 +413,7 @@ class WP_Import { if ( $post_exists ) { echo '
  • '; printf(__('Post %s already exists.'), stripslashes($post_title)); - $post_id = $post_exists; + $comment_post_ID = $post_id = $post_exists; } else { // If it has parent, process parent first.