Changeset 11321
- Timestamp:
- 05/13/2009 11:23:26 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/import/wordpress.php
r11204 r11321 301 301 302 302 $category_nicename = $this->get_tag( $c, 'wp:category_nicename' ); 303 303 304 $posts_private = (int) $this->get_tag( $c, 'wp:posts_private' ); 304 305 $links_private = (int) $this->get_tag( $c, 'wp:links_private' ); … … 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'); 314 315 315 316 $cat_ID = wp_insert_category($catarr);
Note: See TracChangeset
for help on using the changeset viewer.