Changeset 15797
- Timestamp:
- 10/13/2010 08:12:20 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/taxonomy.php
r15777 r15797 1005 1005 $excluded_trunks = wp_parse_id_list($exclude_tree); 1006 1006 foreach ( $excluded_trunks as $extrunk ) { 1007 $excluded_children = (array) get_terms($taxonomies[0], array('child_of' => intval($extrunk), 'fields' => 'ids' ));1007 $excluded_children = (array) get_terms($taxonomies[0], array('child_of' => intval($extrunk), 'fields' => 'ids', 'hide_empty' => 0)); 1008 1008 $excluded_children[] = $extrunk; 1009 1009 foreach( $excluded_children as $exterm ) {
Note: See TracChangeset
for help on using the changeset viewer.