[wp-trac] [WordPress Trac] #41087: Customizer: Deleting a Widget does not remove instance in options
WordPress Trac
noreply at wordpress.org
Mon Jun 26 09:22:43 UTC 2017
#41087: Customizer: Deleting a Widget does not remove instance in options
----------------------------+--------------------
Reporter: timmydcrawford | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.8.1
Component: Customize | Version: 3.9
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
----------------------------+--------------------
Changes (by obenland):
* keywords: reporter-feedback => needs-patch
* milestone: Awaiting Review => 4.8.1
Comment:
Replying to [comment:3 westonruter]:
> @obenland @timmydcrawford is this not a duplicate #27575? Widgets are
not able to be fully deleted in the Customizer because there is not yet
the ability to manage inactive widgets from there (see #27404).
The key seems to be not to save changes. If you add and remove widgets
without saving, the widget option will get updated but `sidebars_widgets`
won't. Which seems to be a quite common scenario, looking at wp.com data.
Ill update the ticket description.
> You'll note that the widget in the customizer has a “Remove” link as
opposed to a “Delete” link.
Did that change recently? It says "Delete | Close" for me.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41087#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list