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

git-svn-id: http://svn.automattic.com/wordpress/trunk@5089 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt
2007-03-23 02:05:29 +00:00
parent 4cfeed615c
commit 3d21925922
10 changed files with 25 additions and 25 deletions

View File

@@ -201,7 +201,7 @@ class WP_Import {
if ( empty($parent) )
$category_parent = '0';
else
$category_parent = (int) category_exists($parent);
$category_parent = category_exists($parent);
$catarr = compact('category_nicename', 'category_parent', 'posts_private', 'links_private', 'posts_private', 'cat_name');