#53289 closed defect (bug) (fixed)
Add missing delete_widget action to REST endpoint
| Reported by: | isabel_brison | Owned by: | noisysocks |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.8 |
| Component: | REST API | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
As documented in https://github.com/WordPress/gutenberg/issues/31126, the delete_widget action is missing for the new Widgets screen.
Change History (6)
This ticket was mentioned in PR #1309 on WordPress/wordpress-develop by tellthemachines.
5 years ago
#1
- Keywords has-patch added
TimothyBJacobs commented on PR #1309:
5 years ago
#2
We need to do the same globals setup to match what they would have on the old screen, https://github.com/WordPress/wordpress-develop/blob/master/src/wp-admin/widgets-form.php#L157
noisysocks commented on PR #1309:
5 years ago
#4
We need to do the same globals setup to match what they would have on the old screen, https://github.com/WordPress/wordpress-develop/blob/master/src/wp-admin/widgets-form.php#L157
https://github.com/WordPress/wordpress-develop/pull/1323 adds that $_POST global.
@tellthemachines: Let's commit https://github.com/WordPress/wordpress-develop/pull/1323 first and then rebase this so that we have that $_POST global.
tellthemachines commented on PR #1309:
5 years ago
#6
Closing as this has been committed already.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Trac ticket: https://core.trac.wordpress.org/ticket/53289
Follow up from https://github.com/WordPress/gutenberg/issues/31126