Skip to content

Commit

Permalink
CS: remove redundant semi-colons
Browse files Browse the repository at this point in the history
As these are not closures/anonymous classes, these semi-colons are redundant and create an empty PHP statement.
  • Loading branch information
jrfnl committed Aug 21, 2023
1 parent 65289cf commit 9762a5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wp-includes/blocks/navigation.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,13 @@ function block_core_navigation_add_directives_to_submenu( $w, $block_attributes
) ) {
$w->set_attribute( 'data-wp-on--click', 'actions.core.navigation.toggleMenuOnClick' );
$w->set_attribute( 'data-wp-bind--aria-expanded', 'selectors.core.navigation.isMenuOpen' );
};
}

// Iterate through subitems if exist.
block_core_navigation_add_directives_to_submenu( $w, $block_attributes );
}
return $w->get_updated_html();
};
}

/**
* Replaces view script for the Navigation block with version using Interactivity API.
Expand Down

0 comments on commit 9762a5b

Please sign in to comment.