Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't import _wp_attachment_metadata. It is regenerated when the atta…

…chment is imported.

git-svn-id: http://svn.automattic.com/wordpress/branches/2.8@11889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
commit 22f40058e55b6038d03fe22e185eca6c367f23a1 1 parent 23046c9
ryan authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 wp-admin/import/wordpress.php
View
4 wp-admin/import/wordpress.php
@@ -684,8 +684,8 @@ function backfill_parents() {
}
function is_valid_meta_key($key) {
- // skip _wp_attached_file metadata since we'll regenerate it from scratch
- if ( $key == '_wp_attached_file' )
+ // skip attachment metadata since we'll regenerate it from scratch
+ if ( $key == '_wp_attached_file' || $key == '_wp_attachment_metadata' )
return false;
return $key;
}
Please sign in to comment.
Something went wrong with that request. Please try again.