diff --git a/wp-includes/class-wp-term-query.php b/wp-includes/class-wp-term-query.php index 8b8fea4c9b..15198a3356 100644 --- a/wp-includes/class-wp-term-query.php +++ b/wp-includes/class-wp-term-query.php @@ -620,10 +620,10 @@ class WP_Term_Query { $selects = array( 'COUNT(*)' ); break; case 'id=>name': - $selects = array( 't.term_id', 't.name', 'tt.count', 'tt.taxonomy' ); + $selects = array( 't.term_id', 't.name', 'tt.parent', 'tt.count', 'tt.taxonomy' ); break; case 'id=>slug': - $selects = array( 't.term_id', 't.slug', 'tt.count', 'tt.taxonomy' ); + $selects = array( 't.term_id', 't.slug', 'tt.parent', 'tt.count', 'tt.taxonomy' ); break; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 5a999cd05c..93f5433d19 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.5-beta4-48662'; +$wp_version = '5.5-beta4-48663'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.