wordpress-importer icon indicating copy to clipboard operation
wordpress-importer copied to clipboard

Photo id references for galleries not rewritten

Open zpao opened this issue 6 years ago • 0 comments

When importing posts with galleries, the references to attachments aren't rewritten, sometimes resulting in the galleries containing the incorrect images. This likely isn't as much a problem when importing into a Wordpress instance - which is probably the more common case. The work I was doing required importing from multiple WXR files, with conflicting ids.

Featured images are already re-mapped so the data tracking is already done. The difference is that fixing this is not just fixing meta data, but modifying the content of posts.

zpao avatar Apr 20 '18 19:04 zpao