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()` (#53585)
  • Loading branch information
johnbillion authored Oct 9, 2023
1 parent ec8b13c commit 5cf045d
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

1 comment on commit 5cf045d

@github-actions
Copy link

@github-actions github-actions bot commented on 5cf045d Oct 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flaky tests detected in 5cf045d.
Some tests passed with failed attempts. The failures may not be related to this commit but are still reported for visibility. See the documentation for more information.

🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/6456201563
📝 Reported issues:

Please sign in to comment.