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 Aug 11, 2023
1 parent 69d9ca3 commit b22f099
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 @@ -92,8 +92,8 @@ function block_core_navigation_sort_menu_items_by_parent_id( $menu_items ) {
* </ul>
* </li>
*
* @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 b22f099

Please sign in to comment.