Changeset 19678 for trunk/wp-admin/includes/taxonomy.php
- Timestamp:
- 01/04/2012 10:44:19 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/taxonomy.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/taxonomy.php
r19593 r19678 118 118 $parent = 0; 119 119 120 if ( empty( $parent) || !category_exists( $parent ) || ($cat_ID && cat_is_ancestor_of($cat_ID, $parent) ) )120 if ( empty( $parent ) || ! term_exists( $parent, $taxonomy ) || ( $cat_ID && term_is_ancestor_of( $cat_ID, $parent, $taxonomy ) ) ) 121 121 $parent = 0; 122 122
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)