[wp-trac] [WordPress Trac] #59536: Navigation data persists even after deleting the navigation block
WordPress Trac
noreply at wordpress.org
Tue Nov 7 09:32:55 UTC 2023
#59536: Navigation data persists even after deleting the navigation block
------------------------------+------------------------------
Reporter: annashopina | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: minor | Resolution:
Keywords: has-testing-info | Focuses:
------------------------------+------------------------------
Comment (by get_dave):
Hi. Thanks for the report.
I'm a regular contributor to the Navigation block so I'm well placed to
answer this.
From what I can tell, what you describe sounds like expected behaviour.
Some of this is covered in these Make Posts which you might find helpful:
- https://make.wordpress.org/core/2023/08/23/whats-new-for-navigation-in-
wordpress-6-2-and-6-3/
- https://make.wordpress.org/core/2022/09/27/navigation-block-fallback-
behavior-in-wp-6-1-dev-note/
The Nav block's data (menu items) is typically a `wp_navigation` Post and
is not stored locally to the block. We optimise for providing the most
recently created menu which is why you are seeing this behaviour.
If, once reading those posts you still feel there is a bug then please
feel free to let us know and I'll be happy to dive in deeper.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59536#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list