Ticket #46768: 46768.diff
File 46768.diff, 662 bytes (added by , 5 years ago) |
---|
-
class-wp-term-query.php
610 610 $selects = array( 'COUNT(*)' ); 611 611 break; 612 612 case 'id=>name': 613 $selects = array( 't.term_id', 't.name', 'tt. count', 'tt.taxonomy' );613 $selects = array( 't.term_id', 't.name', 'tt.parent', 'tt.count', 'tt.taxonomy' ); 614 614 break; 615 615 case 'id=>slug': 616 $selects = array( 't.term_id', 't.slug', 'tt. count', 'tt.taxonomy' );616 $selects = array( 't.term_id', 't.slug', 'tt.parent', 'tt.count', 'tt.taxonomy' ); 617 617 break; 618 618 } 619 619