Opened 4 years ago
Closed 4 years ago
#54593 closed defect (bug) (reported-upstream)
JS error in the new theme editor when using Navigation Block
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.9 |
Component: | General | Keywords: | |
Focuses: | Cc: |
Description
When navigation menu is present in the template, it's possible to get the JS following error in the 5.9-beta1 version:
GET https://domain.ovh/wp-json/wp/v2/block-navigation-areas?context=edit&_locale=user 404
It comes from:
api-fetch.js?ver=10344e1c9c8c8e297682c94866012479:765
To reproduce:
- Go to Themes
- Activate TT2
- Click on Customize
- Make sure navigation block is present
URL is trying to request the non existing endpoint:
wp/v2/block-navigation-areas
Change History (2)
Note: See
TracTickets for help on using
tickets.
Hello @Boniu91,
Welcome back to WordPress Core's Trac! Thank you for testing and reporting this issue.
The issue was reported upstream https://github.com/WordPress/gutenberg/issues/37138, fix merged into Gutenberg here https://github.com/WordPress/gutenberg/pull/37187, and that fix will be backported shortly in Core's PR 2048. Fix is done and will be in 5.9 Beta 3. w00t!
Marking this ticket as upstream.