[wp-trac] [WordPress Trac] #59041: Permit trashing patterns with draft status in post editor
WordPress Trac
noreply at wordpress.org
Thu Aug 10 06:25:56 UTC 2023
#59041: Permit trashing patterns with draft status in post editor
-------------------------------+---------------------------------------
Reporter: ramonopoly | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.4
Component: Posts, Post Types | Version: trunk
Severity: normal | Keywords: has-patch gutenberg-merge
Focuses: |
-------------------------------+---------------------------------------
First reported in https://github.com/WordPress/gutenberg/issues/53367
Since 6.3 it's not possible to trash `wp_block` custom post types that
have a `post_status` of draft.
The `wp_block` post type has `delete_published_posts` in the capabilities
array only.
Step-by-step reproduction instructions:
1. Add a pattern in the post editor (wp-admin/edit.php?post_type=wp_block)
2. Save it in draft status
3. Go back to the list table
4. Try to trash the pattern (the row action will not be there)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59041>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list