Make WordPress Core


Ignore:
Timestamp:
03/23/2007 02:05:29 AM (18 years ago)
Author:
matt
Message:

Ryan slays the dragon. (Some of these return WP_Error objects.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/import/wordpress.php

    r5087 r5089  
    202202                $category_parent = '0';
    203203            else
    204                 $category_parent = (int) category_exists($parent);
     204                $category_parent = category_exists($parent);
    205205
    206206            $catarr = compact('category_nicename', 'category_parent', 'posts_private', 'links_private', 'posts_private', 'cat_name');
Note: See TracChangeset for help on using the changeset viewer.