WordPress.org

Make WordPress Core

Opened 2 months ago

Last modified 3 days ago

#50336 new enhancement

Reusable blocks that are in draft don't have the 'put in trash' feature

Reported by: justinahinon Owned by:
Milestone: Awaiting Review Priority: normal
Severity: minor Version: 5.4.1
Component: Editor Keywords:
Focuses: ui Cc:

Description

When you create a reusable block and keep it under draft, it is not possible to move it to trash.

To reproduce this:

  • On a fresh WordPress install with a default theme, create a reusable block from a post/page or from "/wp-admin/edit.php?post_type=wp_block"
  • Save the reusable block as draft
  • Go back to "/wp-admin/edit.php?post_type=wp_block"

You'll notice that the link to add the reusable block to the trash is missing.

I think this is something which should be possible, similarly with posts and pages/

Attachments (2)

Screenshot_11.png (30.4 KB) - added by justinahinon 2 months ago.
Screenshot_12.png (30.8 KB) - added by justinahinon 2 months ago.

Download all attachments as: .zip

Change History (4)

#1 @justinahinon
3 days ago

  • Summary changed from Trash link missing for reusable blocks in draft to Reusable blocks that are in draft don't have the 'put in trash' feature
Note: See TracTickets for help on using tickets.