You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The suggestion to pick a category on the pre-publish panel only works if the category "Uncategorized" exists. This is not the case for example for German installations. The default category in German is "Allgemein". I expect this is the same for other languages.
In WordPress it is also possible to change the default category, by hard-coding the default category this is not considered.
Description
The suggestion to pick a category on the pre-publish panel only works if the category "Uncategorized" exists. This is not the case for example for German installations. The default category in German is "Allgemein". I expect this is the same for other languages.
In WordPress it is also possible to change the default category, by hard-coding the default category this is not considered.
gutenberg/packages/editor/src/components/post-publish-panel/maybe-category-panel.js
Line 27 in 4970dcf
A simple solution would be to check the option
default_category
:get_option( 'default_category' )
Introduced in #37703
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
No response
Environment info
No response
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
The text was updated successfully, but these errors were encountered: