-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Closed
Copy link
Labels
[Block] NavigationAffects the Navigation BlockAffects the Navigation Block[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
When the site logo block is added to the navigation block, but no image is selected, there is a n empty <li> item in the navigation.
Step-by-step reproduction instructions
- Add a navigation block with two items.
- Place a site logo block between the two items. The site logo block should not have an image assigned.
- Save and view the front.
- Confirm that there is a larger space between the two menu items.
- View the page source to confirm that there is an empty
<li></li>where the logo would have been placed if an image had been selected.
Screenshots, screen recording, code snippet
No response
Environment info
WordPress 6.0.1
Gutenberg trunk
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
Metadata
Metadata
Assignees
Labels
[Block] NavigationAffects the Navigation BlockAffects the Navigation Block[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended