WordPress.org

Make WordPress Core

Changeset 11889


Ignore:
Timestamp:
08/28/2009 12:21:42 AM (12 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
  • branches/2.8/wp-admin/import/wordpress.php

    r11321 r11889  
    685685
    686686    function is_valid_meta_key($key) {
    687         // skip _wp_attached_file metadata since we'll regenerate it from scratch
    688         if ( $key == '_wp_attached_file' )
     687        // skip attachment metadata since we'll regenerate it from scratch
     688        if ( $key == '_wp_attached_file' || $key == '_wp_attachment_metadata' )
    689689            return false;
    690690        return $key;
Note: See TracChangeset for help on using the changeset viewer.