Changeset 13316 for trunk/wp-admin/import/wordpress.php
- Timestamp:
- 02/22/2010 11:12:48 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/import/wordpress.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/import/wordpress.php
r12985 r13316 189 189 $user_id = wp_create_user($new_author_name, wp_generate_password()); 190 190 } 191 191 192 192 if ( !is_wp_error( $user_id ) ) { 193 193 $this->author_ids[$in_author_name] = $user_id; … … 344 344 } 345 345 } 346 346 347 347 function process_terms() { 348 348 global $wpdb, $wp_taxonomies; 349 349 350 350 $custom_taxonomies = $wp_taxonomies; 351 351 // get rid of the standard taxonomies … … 353 353 unset( $custom_taxonomies['post_tag'] ); 354 354 unset( $custom_taxonomies['link_category'] ); 355 355 356 356 $custom_taxonomies = array_keys( $custom_taxonomies ); 357 357 $current_terms = (array) get_terms( $custom_taxonomies, array('get' => 'all') ); … … 602 602 // get_post_meta would have done this but we read straight from the db on export so we could have a serialized string 603 603 $value = maybe_unserialize($value); 604 604 605 605 $this->process_post_meta($post_id, $key, $value); 606 606
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)