Produce warning when permalinks are not enabled #4617
Labels
Core REST API Task
Task for Core REST API efforts
[Feature] Permalink
The permalink of a post or page and the experience of setting or editing it
[Status] Duplicate
Used to indicate that a current issue matches an existing one and can be closed
Issue Overview
When permalinks are not set things don't work properly. Gutenberg should be up front about this.
Steps to Reproduce (for bugs)
Expected Behavior
Gutenberg should let the user know that there could be a problem when a permalink structure is not defined.
Current Behavior
Unexpected messages in the browser log. Things not working as expected. No warnings that things might not work.
Possible Solution
Call this logic at the end of
gutenberg_pre_init
Obviously the wording will need some tweaking. And the logic won't be necessary once WordPress TRAC 42382 has been delivered.
Screenshots / Video
Related Issues and/or PRs
#3215. Possibly #2704 and #2596. And, to be investigated, problems with reusable blocks.
Todos
The text was updated successfully, but these errors were encountered: