From d830c032a25e9297c79b112d2fd80c195ae8289d Mon Sep 17 00:00:00 2001 From: Peter Westwood Date: Mon, 22 Sep 2008 20:52:05 +0000 Subject: [PATCH] Ensure that post meta is attached to the correct post when importing. Fixes #7707 props dougal. git-svn-id: https://develop.svn.wordpress.org/trunk@8957 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/import/wordpress.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wp-admin/import/wordpress.php b/wp-admin/import/wordpress.php index c5a0a665eb..25a47e5fc9 100644 --- a/wp-admin/import/wordpress.php +++ b/wp-admin/import/wordpress.php @@ -409,6 +409,7 @@ class WP_Import { if ( $post_exists ) { echo '
  • '; printf(__('Post %s already exists.'), stripslashes($post_title)); + $post_id = $post_exists; } else { // If it has parent, process parent first.