Skip to content

Commit

Permalink
Query by name. (#43850)
Browse files Browse the repository at this point in the history
  • Loading branch information
spacedmonkey authored Sep 8, 2022
1 parent 1336026 commit 52bcad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/template-part/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function render_block_core_template_part( $attributes ) {
'tax_query' => array(
array(
'taxonomy' => 'wp_theme',
'field' => 'slug',
'field' => 'name',
'terms' => $attributes['theme'],
),
),
Expand Down

0 comments on commit 52bcad9

Please sign in to comment.