diff --git a/src/class-wp-import.php b/src/class-wp-import.php index e1cb094..ab68867 100644 --- a/src/class-wp-import.php +++ b/src/class-wp-import.php @@ -656,7 +656,7 @@ function process_posts() { $post_type_object = get_post_type_object( $post['post_type'] ); - $post_exists = post_exists( $post['post_title'], '', $post['post_date'] ); + $post_exists = post_exists( $post['post_title'], '', $post['post_date'], $post['post_type'] ); /** * Filter ID of the existing post corresponding to post currently importing.