Ticket #45373: 45373-edit-posts.patch
File 45373-edit-posts.patch, 601 bytes (added by , 5 years ago) |
---|
-
src/wp-includes/post.php
diff --git src/wp-includes/post.php src/wp-includes/post.php index 7e46f698ff..a68aa86407 100644
function create_initial_post_types() { 292 292 'read' => 'edit_posts', 293 293 // You need to be able to publish posts, in order to create blocks. 294 294 'create_posts' => 'publish_posts', 295 'edit_posts' => 'edit_posts', 295 296 'edit_published_posts' => 'edit_published_posts', 296 297 'delete_published_posts' => 'delete_published_posts', 297 298 'edit_others_posts' => 'edit_others_posts',