Ticket #8840: 8840.diff
| File 8840.diff, 939 bytes (added by , 17 years ago) |
|---|
-
wp-admin/import/wordpress.php
300 300 continue; 301 301 302 302 $category_nicename = $this->get_tag( $c, 'wp:category_nicename' ); 303 $category_description = $this->get_tag( $c, 'wp:category_description' ); 303 304 $posts_private = (int) $this->get_tag( $c, 'wp:posts_private' ); 304 305 $links_private = (int) $this->get_tag( $c, 'wp:links_private' ); 305 306 … … 310 311 else 311 312 $category_parent = category_exists($parent); 312 313 313 $catarr = compact('category_nicename', 'category_parent', 'posts_private', 'links_private', 'posts_private', 'cat_name' );314 $catarr = compact('category_nicename', 'category_parent', 'posts_private', 'links_private', 'posts_private', 'cat_name', 'category_description'); 314 315 315 316 $cat_ID = wp_insert_category($catarr); 316 317 }
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)