Ticket #54973: 54973.2.patch
File 54973.2.patch, 510 bytes (added by , 3 years ago) |
---|
-
src/class-wp-import.php
diff --git a/src/class-wp-import.php b/src/class-wp-import.php index 6d994aa..e1cb094 100644
a b class WP_Import extends WP_Importer { 423 423 'category_description' => wp_slash( $description ), 424 424 ); 425 425 426 $id = wp_insert_category( $data );426 $id = wp_insert_category( $data, true ); 427 427 if ( ! is_wp_error( $id ) && $id > 0 ) { 428 428 if ( isset( $cat['term_id'] ) ) { 429 429 $this->processed_terms[ intval( $cat['term_id'] ) ] = $id;