Skip to content

Commit

Permalink
Fix incorrectly named function
Browse files Browse the repository at this point in the history
  • Loading branch information
talldan authored and adamziel committed Dec 2, 2021
1 parent 7eb4dc2 commit b2b5bb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/block-library/src/navigation/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ function block_core_navigation_parse_blocks_from_menu_items( $menu_items, $menu_
);

$block['innerBlocks'] = isset( $menu_items_by_parent_id[ $menu_item->ID ] )
? gutenberg_parse_blocks_from_menu_items( $menu_items_by_parent_id[ $menu_item->ID ], $menu_items_by_parent_id )
? block_core_navigation_parse_blocks_from_menu_items( $menu_items_by_parent_id[ $menu_item->ID ], $menu_items_by_parent_id )
: array();
$block['innerContent'] = array_map( 'serialize_block', $block['innerBlocks'] );

Expand Down

0 comments on commit b2b5bb9

Please sign in to comment.