diff --git a/wp-admin/import/livejournal.php b/wp-admin/import/livejournal.php index bc6bb91231..e8c48c4ad9 100644 --- a/wp-admin/import/livejournal.php +++ b/wp-admin/import/livejournal.php @@ -67,8 +67,8 @@ class LJ_Import { printf(__('Post %s already exists.'), stripslashes($post_title)); } else { printf(__('Importing post %s...'), stripslashes($post_title)); - $post = compact('post_author', 'post_date', 'post_content', 'post_title', 'post_status'); - $post_id = wp_insert_post($post); + $postdata = compact('post_author', 'post_date', 'post_content', 'post_title', 'post_status'); + $post_id = wp_insert_post($postdata); if (!$post_id) { _e("Couldn't get post ID"); echo ''; @@ -113,9 +113,10 @@ class LJ_Import { } } } - if ( $num_comments ) + if ( $num_comments ) { + echo ' '; printf(__('(%s comments)'), $num_comments); - + } echo ''; flush(); ob_flush();