Changeset 7483
- Timestamp:
- 03/23/2008 01:10:46 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/taxonomy.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/taxonomy.php
r7423 r7483 77 77 78 78 $parent = (int) $parent; 79 if ( $parent < 0 ) 80 $parent = 0; 81 79 82 if ( empty($parent) || !category_exists( $parent ) || ($cat_ID && cat_is_ancestor_of($cat_ID, $parent) ) ) 80 83 $parent = 0;
Note: See TracChangeset
for help on using the changeset viewer.