Skip to content

Commit

Permalink
Fix lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
spacedmonkey committed Jan 18, 2023
1 parent 09632f6 commit 77e904c
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 @@ -40,7 +40,7 @@ function render_block_core_template_part( $attributes ) {
'no_found_rows' => true,
)
);
$template_part_post = null;
$template_part_post = null;
if ( $template_part_query->have_posts() ) {
foreach ( $template_part_query->posts as $template_post ) {
if ( $template_post->post_name === $attributes['slug'] ) {
Expand Down

0 comments on commit 77e904c

Please sign in to comment.