Skip to content

Commit

Permalink
Correct the documented type for the $w parameter of `block_core_nav…
Browse files Browse the repository at this point in the history
…igation_add_directives_to_submenu()`
  • Loading branch information
johnbillion authored and aristath committed Oct 9, 2023
1 parent ec8b13c commit 9e4a2be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/block-library/src/navigation/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ function block_core_navigation_sort_menu_items_by_parent_id( $menu_items ) {
* Add Interactivity API directives to the navigation-submenu and page-list
* blocks markup using the Tag Processor.
*
* @param string $w Markup of the navigation block.
* @param array $block_attributes Block attributes.
* @param WP_HTML_Tag_Processor $w Markup of the navigation block.
* @param array $block_attributes Block attributes.
*
* @return string Submenu markup with the directives injected.
*/
Expand Down

0 comments on commit 9e4a2be

Please sign in to comment.