Make WordPress Core

Opened 8 years ago

Closed 3 months ago

Last modified 7 days ago

#43666 closed enhancement (invalid)

Check update post meta before add new post meta in WordPress Importer

Reported by: mukesh27's profile mukesh27 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)

43666.patch (603 bytes) - added by mukesh27 8 years ago.

Download all attachments as: .zip

Change History (6)

@mukesh27
8 years ago

#1 @mukesh27
8 years ago

  • Keywords has-patch added

#2 @mukesh27
7 years ago

  • Keywords dev-feedback added

#3 @callumbw95
5 months ago

  • Keywords close added

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 close tag in case there is any further discussion to be had. 😃

#4 @mindctrl
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

#5 @swissspidy
7 days ago

  • Milestone Awaiting Review deleted

Removing milestone from closed ticket.

Note: See TracTickets for help on using tickets.