Changeset 5597 for trunk/wp-includes/taxonomy.php
- Timestamp:
- 05/30/2007 01:39:47 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/taxonomy.php
r5596 r5597 701 701 702 702 $children = array(); 703 $terms = get_terms($taxonomy, ' hide_empty=0&hierarchical=0');703 $terms = get_terms($taxonomy, 'get=all'); 704 704 foreach ( $terms as $term ) { 705 705 if ( $term->parent > 0 ) 706 $children[$ cterm->parent][] = $term->term_id;706 $children[$term->parent][] = $term->term_id; 707 707 } 708 708 update_option("{$taxonomy}_children", $children);
Note: See TracChangeset
for help on using the changeset viewer.