Make WordPress Core

Opened 8 years ago

Closed 12 months ago

Last modified 9 months ago

#43666 closed enhancement (invalid)

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

Reported by: mukesh27 Owned by:
Priority: normal Milestone:
Component: Import Version:
Severity: normal Keywords:
Cc: Focuses:

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
8 years ago

  • Keywords dev-feedback added

#3 @callumbw95
14 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
12 months ago

  • Keywords has-patch dev-feedback close removed
  • Resolutioninvalid
  • Status newclosed

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
9 months ago

  • Milestone Awaiting Review

Removing milestone from closed ticket.

Note: See TracTickets for help on using tickets.