Changeset 12711
- Timestamp:
- 01/12/2010 08:12:04 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/taxonomy.php
r12699 r12711 2067 2067 2068 2068 $children = array(); 2069 $terms = get_terms($taxonomy, array('get' => 'all' ));2069 $terms = get_terms($taxonomy, array('get' => 'all', 'orderby' => 'id', 'fields' => 'ids')); 2070 2070 foreach ( $terms as $term ) { 2071 2071 if ( $term->parent > 0 )
Note: See TracChangeset
for help on using the changeset viewer.