mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-28 15:17:42 +02:00
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:
parent
df5ff389e9
commit
81818b9ed8
@ -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