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
This commit is contained in:
parent
85a802aeb9
commit
d830c032a2
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user