Ticket #20493: merge-terms-with-children.diff
| File merge-terms-with-children.diff, 495 bytes (added by wonderboymusic, 9 months ago) |
|---|
-
wp-includes/taxonomy.php
755 755 $children = array_merge( $children, get_term_children( $term, $query['taxonomy'] ) ); 756 756 $children[] = $term; 757 757 } 758 $query['terms'] = $children;758 $query['terms'] = array_merge( $query['terms'], $children ); 759 759 } 760 760 761 761 $this->transform_query( $query, 'term_taxonomy_id' );
