Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Navigation: Deleting an individual Navigation block causes a warning to be displayed #68622

Closed
3 of 6 tasks
yogeshbhutkar opened this issue Jan 13, 2025 · 0 comments · Fixed by #68623
Closed
3 of 6 tasks
Assignees
Labels
[Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended

Comments

@yogeshbhutkar
Copy link
Contributor

Description

When attempting to delete a single Navigation Block, it displays a warning. The warning occurs because, post deletion, the block should navigate back to /navigation route but that doesn't happen because of a typo in this line:

This was first introduced in: #67199

Step-by-step reproduction instructions

  1. Navigate to site editor.
  2. Make sure you have created some Navigation Menu.
  3. Navigate to the Navigation page.
  4. Choose any Navigation Menu and delete it.
  5. Observe, the page doesn't navigate back and displays an error message in the snackbar.

Screenshots, screen recording, code snippet

Demo

Environment info

  • WordPress Version: 6.8-alpha-59361
  • Gutenberg Plugin Version: Trunk (88b4e1d)
  • OS: macOS Sequoia

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

Please confirm which theme type you used for testing.

  • Block
  • Classic
  • Hybrid (e.g. classic with theme.json)
  • Not sure
@yogeshbhutkar yogeshbhutkar added the [Type] Bug An existing feature does not function as intended label Jan 13, 2025
@github-actions github-actions bot added the [Status] In Progress Tracking issues with work in progress label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Status] In Progress Tracking issues with work in progress [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant