WordPress.org

Make WordPress Core

Opened 6 months ago

Closed 2 days ago

Last modified 2 days ago

#50336 closed defect (bug) (reported-upstream)

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

Reported by: justinahinon Owned by:
Milestone: 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 6 months ago.
Screenshot_12.png (30.8 KB) - added by justinahinon 6 months ago.

Download all attachments as: .zip

Change History (6)

#1 @justinahinon
4 months 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

#3 @noisysocks
2 days ago

  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Status changed from new to closed

Thanks @justinahinon. Closing this in favour of the linked GitHub issue.

#4 @noisysocks
2 days ago

  • Type changed from enhancement to defect (bug)
Note: See TracTickets for help on using tickets.