[wp-trac] [WordPress Trac] #19291: Widgets move to Inactive after clearing all widgets from sidebars
WordPress Trac
wp-trac at lists.automattic.com
Fri Nov 18 16:54:12 UTC 2011
#19291: Widgets move to Inactive after clearing all widgets from sidebars
------------------------------+------------------------------
Reporter: lancewillett | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Warnings/Notices | Version: 3.3
Severity: normal | Resolution:
Keywords: |
------------------------------+------------------------------
Comment (by azaozz):
Replying to [ticket:19291 lancewillett]:
> This only happens if you remove *all* widgets from all sidebars.
This border case is interesting. When switching themes we do not save
widgets instances/settings. We only save widgets positions in the
sidebars.
If the user removes all widgets from all sidebars there will be no more
widgets instances to match the old position settings when restoring an old
theme's sidebars (the newly added widgets will be different instances with
different settings). In that case IMHO we should be adding all of the
newly added widgets to Inactive Widgets.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19291#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list