Open philiprichter opened 2 years ago
When registering a custom post type with 'public' argument set to false, the permalinks meta box is not displayed any more (since Wordpress 5.9).
Wordpress 5.9, Twenty Twenty-Two theme, Multiple Browsers and OS
Yes
It is intentional when a post type isn't viewable; the editor won't render permalink options. The viewable value comes from is_post_type_viewable.
viewable
is_post_type_viewable
Description
When registering a custom post type with 'public' argument set to false, the permalinks meta box is not displayed any more (since Wordpress 5.9).
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Environment info
Wordpress 5.9, Twenty Twenty-Two theme, Multiple Browsers and OS
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