noisysocks
|
5162c8e6a8
|
REST API: Add 'delete_widget' action to delete widget endpoint
Triggers the 'delete_widget' action to the delete widget endpoint in the REST
API. This aligns with the behaviour in the widgets WP Admin screen.
Fixes #53289.
Props isabel_brison, TimothyBlynJacobs.
Built from https://develop.svn.wordpress.org/trunk@51060
git-svn-id: http://core.svn.wordpress.org/trunk@50669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2021-06-02 01:40:57 +00:00 |
|
noisysocks
|
2fd3f23408
|
REST API: Fix delete widget endpoint
Makes the `DELETE /wp/v2/widgets/:id?force=1` endpoint actually delete the
widget from the `"widget-$id_base"` option and not just remove it from
`'sidebars_widgets'`.
Fixes #53313.
Props TimothyBlynJacobs.
Built from https://develop.svn.wordpress.org/trunk@51059
git-svn-id: http://core.svn.wordpress.org/trunk@50668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2021-06-02 01:22:57 +00:00 |
|
noisysocks
|
1314542c50
|
REST API: Add widget endpoints
Adds the sidebars, widgets and widget-types REST API endpoints from the
Gutenberg plugin.
Fixes #41683.
Props TimothyBlynJacobs, spacedmonkey, zieladam, jorgefilipecosta, youknowriad, kevin940726.
Built from https://develop.svn.wordpress.org/trunk@50995
git-svn-id: http://core.svn.wordpress.org/trunk@50604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2021-05-25 08:27:57 +00:00 |
|
noisysocks
|
ed195fbd89
|
REST API: Revert widget endpoints
Reverts [50993] as it has missing props.
Reverts [50993].
See #41683.
Built from https://develop.svn.wordpress.org/trunk@50994
git-svn-id: http://core.svn.wordpress.org/trunk@50603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2021-05-25 08:22:56 +00:00 |
|
noisysocks
|
2a4e1e0c04
|
REST API: Add widget endpoints
Adds the sidebars, widgets and widget-types REST API endpoints from the
Gutenberg plugin.
Fixes #41683.
Props TimothyBlynJacobs.
Built from https://develop.svn.wordpress.org/trunk@50993
git-svn-id: http://core.svn.wordpress.org/trunk@50602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
|
2021-05-25 07:52:55 +00:00 |
|