Skip to content

Commit

Permalink
Update the fallback block list to avoid a PHP Warning (#58588)
Browse files Browse the repository at this point in the history
Co-authored-by: dd32 <dd32@git.wordpress.org>
Co-authored-by: tjcafferkey <tomjcafferkey@git.wordpress.org>
Co-authored-by: youknowriad <youknowriad@git.wordpress.org>
  • Loading branch information
4 people authored Feb 2, 2024
1 parent 6cd0cba commit 9bc6a57
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/block-library/src/navigation/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,9 @@ function block_core_navigation_block_contains_core_navigation( $inner_blocks ) {
function block_core_navigation_get_fallback_blocks() {
$page_list_fallback = array(
array(
'blockName' => 'core/page-list',
'blockName' => 'core/page-list',
'innerContent' => array(),
'attrs' => array(),
),
);

Expand Down

0 comments on commit 9bc6a57

Please sign in to comment.