Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.41k stars 1.98k forks source link

Can't restore reusable blocks within Calypso #40992

Open GeoJunkie opened 4 years ago

GeoJunkie commented 4 years ago

Steps to reproduce

  1. Create a Reusable Block
  2. Trash that block, either by the block menu > Remove from Reusable blocks, or from the manage all reusable blocks (https://wordpress.com/types/wp_block/{site})
  3. Go to the Reusable blocks manager and check the trash (https://wordpress.com/types/wp_block/trashed/{site})
  4. Try to restore the block

What I expected

For an option to restore the block from the trash.

What happened instead

Delete Permanently is the only option available

I was able to see and restore the site via a direct access to the blocks (/wp-admin/edit.php?post_status=trash&post_type=wp_block). This should also be available within Calypso.

Browser / OS version

For me: Firefox 74.0.1 (64-bit) MacOS Catalina 10.15.4 (19E287)

This seems to be browser/OS independent

Screenshot / Video

Calypso: Screen Capture on 2020-04-09 at 14-36-32

WP Admin:

Screen Shot on 2020-04-09 at 14-53-48

Context / Source

user-report

Reported in 2848617-zen

github-actions[bot] commented 3 years ago

This issue is stale because it has been 180 days with no activity. You can keep the issue open by adding a comment. If you do, please provide additional context and explain why you’d like it to remain open. You can also close the issue yourself — if you do, please add a brief explanation and apply one of relevant issue close labels.

masperber commented 1 year ago

Another report: 6342939-zen

github-actions[bot] commented 1 year ago

Support References

This comment is automatically generated. Please do not edit it.