Changes between Initial Version and Version 5 of Ticket #41087
- Timestamp:
- 06/26/2017 09:24:59 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #41087
- Property Keywords needs-patch added
-
Property
Version
changed from
4.8
to3.9
-
Property
Milestone
changed from
Awaiting Review
to4.8.1
-
Ticket #41087 – Description
initial v5 1 1 When deleting a widget from {{{widgets.php}}}, for example a new Media Image Widget, the widget instance is removed from the {{{widget_media_image}}} site option, along with association/placement value in {{{sidebars_widgets}}}. 2 2 3 However, if a widget is removed using the customizer, the widget data ( again in this case testing with an image widget ), still exists in {{{get_option( 'widget_media_image' )}}}, while the entry in {{{sidebars_widgets}}} is againproperly removed.3 In the customizer however, if a widget is removed without having been saved first, the widget data ( again in this case testing with an image widget ), still exists in {{{get_option( 'widget_media_image' )}}}, while the entry in {{{sidebars_widgets}}} is either never added or properly removed. 4 4 5 5 It seems removal of a widget in both places ( widgets.php and customizer ) should result in the removal from the associated option in both cases.