Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
scruffian committed Feb 3, 2023
1 parent 3b5a0a9 commit 2be042f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/block-library/src/navigation/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -444,8 +444,8 @@ function block_core_navigation_get_default_pages_fallback() {
$wp_insert_post_result = wp_insert_post(
array(
'post_content' => $default_blocks,
'post_title' => 'Navigation', // TODO - use the template slug in future
'post_name' => 'Navigation', // TODO - use the template slug in future
'post_title' => 'Navigation', // TODO - use the template slug in future.
'post_name' => 'Navigation', // TODO - use the template slug in future.
'post_status' => 'publish',
'post_type' => 'wp_navigation',
),
Expand Down Expand Up @@ -491,7 +491,7 @@ function block_core_navigation_get_fallback_blocks() {
}

// Normalizing blocks may result in an empty array of blocks if they were all `null` blocks.
// In this case default empty blocks
// In this case default empty blocks.
$fallback_blocks = ! empty( $maybe_fallback ) ? $maybe_fallback : array();

/**
Expand Down

0 comments on commit 2be042f

Please sign in to comment.