You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Publishing a post containing a navigation block with a menu stuck in draft state does not save the draft menu #59690
Similar to #59684, and following #59685 and #59688, if a user inserts a draft menu into a navigation block and publishes that post, the draft menu doesn't save (and there is no opportunity to do so). On the published post, a fallback menu is rendered, which is a confusing experience.
Click "Publish" and proceed through the process of publishing the post
Observe that the editor at no point prompted you to save the draft menu, as it does if you were to newly-import a classic menu or if you modified the menu
Open your published post on your site
Observe that the post rendered the site's fallback menu, not the menu you selected in step 3
Screenshots, screen recording, code snippet
Environment info
Tested on 6.4.3 as well as 6.5 RC1
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Thanks so much for opening these various issues @mboynes! @scruffian tagging you in for this issue along with #59684#59685 and #59688 in case you can take a look.
@getdave thanks for hopping in to take a look at this! Testing with the latest version of WordPress (6.7.1), this issue persists. In your video, you modified the menu, which sets the editor to a dirty state, prompting you to make the save. If you select a draft menu and do not modify it, you'll experience the behavior. I'll edit the description of the issue to note not to modify the menu after selecting it!
I'll also add a note to #59685 on what in the UX has changed and improved (I agree, that issue is related but separate).
Activity
annezazu commentedon Mar 12, 2024
Thanks so much for opening these various issues @mboynes! @scruffian tagging you in for this issue along with #59684 #59685 and #59688 in case you can take a look.
getdave commentedon Nov 21, 2024
Part of this Issue seems to be resolved with recent releases.
I tested by
It's now quite difficult to create a draft Navigation without publishing it.
Screen.Capture.on.2024-11-21.at.10-16-30.mp4
@mboynes Has the situation improved or did I miss something from your process?
Note that I think discussions regarding Classic Menus should be discussed on #59685 as this seems like a related but separate Issue.
mboynes commentedon Nov 21, 2024
@getdave thanks for hopping in to take a look at this! Testing with the latest version of WordPress (6.7.1), this issue persists. In your video, you modified the menu, which sets the editor to a dirty state, prompting you to make the save. If you select a draft menu and do not modify it, you'll experience the behavior. I'll edit the description of the issue to note not to modify the menu after selecting it!
I'll also add a note to #59685 on what in the UX has changed and improved (I agree, that issue is related but separate).