[wp-trac] [WordPress Trac] #33602: is_active_sidebar returns true when widget has been deactivated
WordPress Trac
noreply at wordpress.org
Wed Sep 2 01:30:53 UTC 2015
#33602: is_active_sidebar returns true when widget has been deactivated
-------------------------------+------------------------------
Reporter: karlikdesign | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Widgets | Version: 4.3
Severity: normal | Resolution:
Keywords: close 2nd-opinion | Focuses: administration
-------------------------------+------------------------------
Changes (by welcher):
* keywords: => close 2nd-opinion
* focuses: => administration
Comment:
I believe this is due to how the widgets are stored. Adding a widget to a
sidebar and then deactivating the plugin that generates the widget doesn't
purge the widget instance from the sidebars_widgets option - to my
knowledge anyway - and that is essentially what is driving whether or not
a sidebar is considered active.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/33602#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list