Navigation Block: Draft Page shows on front end as a broken link #29691
Labels
[Block] Navigation
Affects the Navigation Block
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
When using the navigation block, if you create a draft page, the page then displays on the front end of the site even though it's still a draft and leads to a broken link. cc @gwwar
Step-by-step reproduction instructions
These are a bit rough, apologies. I'm finding this hard to explain but the video should help!
Expected behaviour
I'd expect a draft of a page to not be shown as a broken menu item.
Actual behaviour
The draft is linked to causing a broken link. However, it's not obvious it's broken as when you are logged in as an admin the page is able to be viewed. If you check in an incognito window, you'll see it's broken.
Screenshots or screen recording (optional)
nav.block.bug.mov
WordPress information
The text was updated successfully, but these errors were encountered: