mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Fix typo. fixes #3387
git-svn-id: http://svn.automattic.com/wordpress/trunk@4534 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
30af9648b5
commit
950ad14094
@ -108,7 +108,7 @@ function wp_insert_category($catarr) {
|
||||
$category_description = apply_filters('pre_category_description', $category_description);
|
||||
|
||||
$category_parent = (int) $category_parent;
|
||||
if ( empty($category_parent) || !get_category( $category_parent ) || ($cat_ID && _cat_is_ancestor_of($cat_ID, $category_parent) ) )
|
||||
if ( empty($category_parent) || !get_category( $category_parent ) || ($cat_ID && cat_is_ancestor_of($cat_ID, $category_parent) ) )
|
||||
$category_parent = 0;
|
||||
|
||||
if ( isset($posts_private) )
|
||||
|
Loading…
Reference in New Issue
Block a user