From 81818b9ed87b26e8deb29d76aaa2174477be451d Mon Sep 17 00:00:00 2001 From: westi 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: http://svn.automattic.com/wordpress/trunk@8957 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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.