#43666 closed enhancement (invalid)
Check update post meta before add new post meta in WordPress Importer
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | |
| Component: | Import | Keywords: | |
| Focuses: | Cc: |
Description
When we import any post/page content XML multiple time new post meta import multiple time so before import any post meta import we have to check if same post with meta key is exist or not if not exist then we have to add new post meta using add_post_meta function or update that post meta using update_post_meta function.
Attachments (1)
Change History (6)
#4
@
3 months ago
- Keywords has-patch dev-feedback close removed
- Resolution set to invalid
- Status changed from new to closed
Hi all, since this functionality has been moved to the WordPress Importer plugin, this should probably be raised in the plugin's repo here: https://github.com/WordPress/wordpress-importer
Note: See
TracTickets for help on using
tickets.
Hey @mukesh27,
I have just taken a look into this in the latest release and the file associated in your patch no longer exists within core today. As of such I have checked over the new file (class-wp-import.php) where this is handled now, and this logic does appear to be in place. As of such I believe it's safe to say this ticket can be closed now, but have attached the
closetag in case there is any further discussion to be had. 😃