[wp-trac] [WordPress Trac] #53313: Widgets REST API: Deleted widgets re-appear after accessing old widgets screen
WordPress Trac
noreply at wordpress.org
Wed Jun 2 01:21:31 UTC 2021
#53313: Widgets REST API: Deleted widgets re-appear after accessing old widgets
screen
--------------------------------------+-------------------------
Reporter: noisysocks | Owner: noisysocks
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.8
Component: REST API | Version: trunk
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses:
--------------------------------------+-------------------------
Changes (by noisysocks):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"51059" 51059]:
{{{
#!CommitTicketReference repository="" revision="51059"
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.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/53313#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list