diff --git a/wp-includes/post.php b/wp-includes/post.php index e1af9227a5..7100e7c3ac 100644 --- a/wp-includes/post.php +++ b/wp-includes/post.php @@ -320,6 +320,8 @@ function create_initial_post_types() { 'edit_posts' => 'edit_posts', 'edit_published_posts' => 'edit_published_posts', 'delete_published_posts' => 'delete_published_posts', + // Enables trashing draft posts as well. + 'delete_posts' => 'delete_posts', 'edit_others_posts' => 'edit_others_posts', 'delete_others_posts' => 'delete_others_posts', ), diff --git a/wp-includes/version.php b/wp-includes/version.php index 8abf610973..1840b60adc 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.4-alpha-56576'; +$wp_version = '6.4-alpha-56577'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.