Site Editor should display a 404 message when you navigate to a non-existing path #67445
Open
3 of 6 tasks
Labels
[Feature] Site Editor
Related to the overarching Site Editor (formerly "full site editing")
[Type] Bug
An existing feature does not function as intended
Description
With a block theme and Gutenberg trunk active, if you open the Site Editor but miss-type the link, the Site Editor is now a black page with no message or content showing.
Without Gutenberg active, you are presented with the index template (Or home blog or front page, if the theme uses that)
Step-by-step reproduction instructions
Try navigating to
wp-admin/site-editor.php?p=%2Ftemplate-fdgfdgdfg
.Screenshots, screen recording, code snippet
No response
Environment info
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
The text was updated successfully, but these errors were encountered: