Skip to content

Commit

Permalink
more linting
Browse files Browse the repository at this point in the history
  • Loading branch information
draganescu committed Nov 6, 2023
1 parent 356fe91 commit 0a681c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/init.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ function get_template_parts_that_use_menu( $wp_navigation_id ) {
$wp_template_part_posts_with_navigation = array();
foreach ( $wp_template_part_posts as $wp_template_part_post ) {
$wp_template_part_blocks = parse_blocks( $wp_template_part_post->post_content );
$found_avigation = count(
$found_avigation = count(
recursively_find_block_by_attribute(
$wp_template_part_blocks,
'core/navigation',
Expand Down

0 comments on commit 0a681c9

Please sign in to comment.