Make WordPress Core


Ignore:
Timestamp:
08/19/2009 09:37:47 PM (15 years ago)
Author:
ryan
Message:

Don't import _wp_attachment_metadata. It is regenerated when the attachment is imported.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/import/wordpress.php

    r11774 r11842  
    689689
    690690    function is_valid_meta_key($key) {
    691         // skip _wp_attached_file metadata since we'll regenerate it from scratch
    692         if ( $key == '_wp_attached_file' )
     691        // skip attachment metadata since we'll regenerate it from scratch
     692        if ( $key == '_wp_attached_file' || $key == '_wp_attachment_metadata' )
    693693            return false;
    694694        return $key;
Note: See TracChangeset for help on using the changeset viewer.