mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-18 12:35:03 +00:00
Assign comment post ID when importing existing posts. Props tott. fixes #8458
git-svn-id: http://svn.automattic.com/wordpress/trunk@10014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
11a4ee8555
commit
b35f4bf519
@ -413,7 +413,7 @@ class WP_Import {
|
||||
if ( $post_exists ) {
|
||||
echo '<li>';
|
||||
printf(__('Post <em>%s</em> already exists.'), stripslashes($post_title));
|
||||
$post_id = $post_exists;
|
||||
$comment_post_ID = $post_id = $post_exists;
|
||||
} else {
|
||||
|
||||
// If it has parent, process parent first.
|
||||
|
Loading…
x
Reference in New Issue
Block a user