[wp-trac] [WordPress Trac] #52180: Add post modified fields to WXR export format

WordPress Trac noreply at wordpress.org
Sun Dec 27 20:41:34 UTC 2020


#52180: Add post modified fields to WXR export format
-------------------------+-----------------------------
 Reporter:  jmdodd       |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Export       |    Version:  trunk
 Severity:  normal       |   Keywords:  has-patch
  Focuses:               |
-------------------------+-----------------------------
 The WXR export format can be used to merge blogs' content without needing
 to resort to direct database manipulation. However, its usefulness is
 limited when doing so because the importer cannot programmatically
 determine which version of a post is "fresher" as the only date
 information included with a given post is the post date.

 I would like to add the post_modified and post_modified_gmt fields to the
 generated WXR export file to allow for the possibility of import logic
 involving updating and adding revisions to, rather than skipping, existing
 posts/pages.

 I have tested these additions with the WordPress importer with no issues
 in either export or import.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52180>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list