Skip to content

Commit

Permalink
[Block Library - Query Loop]: Fix use the sanitized term ids
Browse files Browse the repository at this point in the history
  • Loading branch information
ntsekouras committed Apr 1, 2022
1 parent 6821d29 commit 4da26a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/compat/wordpress-6.0/blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ function gutenberg_build_query_vars_from_query_block( $block, $page ) {

$query['tax_query'][] = array(
'taxonomy' => $taxonomy,
'terms' => $terms,
'terms' => $term_ids,
'include_children' => false,
);
}
Expand Down

0 comments on commit 4da26a2

Please sign in to comment.