Import Attachments – not attaching to post_parent
I think that importing attachments separately (which is not possible with native export) is precisely cause for your issue. Importer plugin has following code: if ( $post_parent ) { // if we already know the parent, map it to the new local ID if ( isset( $this->processed_posts[$post_parent] ) ) { $post_parent = $this->processed_posts[$post_parent]; // otherwise … Read more