diff --git a/src/wp-includes/post.php b/src/wp-includes/post.php index d9c2774adf790..5cc7f66244251 100644 --- a/src/wp-includes/post.php +++ b/src/wp-includes/post.php @@ -509,6 +509,18 @@ function create_initial_post_types() { 'show_in_rest' => true, 'rewrite' => false, 'map_meta_cap' => true, + 'capabilities' => array( + 'edit_others_posts' => 'edit_theme_options', + 'delete_posts' => 'edit_theme_options', + 'publish_posts' => 'edit_theme_options', + 'create_posts' => 'edit_theme_options', + 'read_private_posts' => 'edit_theme_options', + 'delete_private_posts' => 'edit_theme_options', + 'delete_published_posts' => 'edit_theme_options', + 'delete_others_posts' => 'edit_theme_options', + 'edit_private_posts' => 'edit_theme_options', + 'edit_published_posts' => 'edit_theme_options', + ), 'rest_base' => 'navigation', 'rest_controller_class' => 'WP_REST_Posts_Controller', 'supports' => array(