diff --git a/src/wp-includes/post.php b/src/wp-includes/post.php index 98b9092f16f1f..114cd3ed26ed8 100644 --- a/src/wp-includes/post.php +++ b/src/wp-includes/post.php @@ -62,7 +62,16 @@ function create_initial_post_types() { 'rewrite' => false, 'query_var' => false, 'delete_with_user' => true, - 'supports' => array( 'title', 'editor', 'author', 'thumbnail', 'page-attributes', 'custom-fields', 'comments', 'revisions' ), + 'supports' => array( + 'title', + 'author', + 'thumbnail', + 'page-attributes', + 'custom-fields', + 'comments', + 'revisions', + 'editor' => array( 'default_mode' => 'template-locked' ), + ), 'show_in_rest' => true, 'rest_base' => 'pages', 'rest_controller_class' => 'WP_REST_Posts_Controller',