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
This commit is contained in:
westi 2008-09-22 20:52:05 +00:00
parent df5ff389e9
commit 81818b9ed8
1 changed files with 1 additions and 0 deletions

View File

@ -409,6 +409,7 @@ class WP_Import {
if ( $post_exists ) {
echo '<li>';
printf(__('Post <em>%s</em> already exists.'), stripslashes($post_title));
$post_id = $post_exists;
} else {
// If it has parent, process parent first.