WP_Post_Type->template is not used in site editor #60710
Labels
[Feature] Site Editor
Related to the overarching Site Editor (formerly "full site editing")
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
The initial state of a new post type is defined in
WP_Post_Type->template
. This initial state is acknowledged by the block editor when creating a new post/page/etc but not in the site editor.Step-by-step reproduction instructions
page
(but you could usewp_block
). Place this in afunctions.php
or plugin file:Screenshots, screen recording, code snippet
No response
Environment info
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: