[wp-trac] [WordPress Trac] #17979: Avoid losing widgets when switching themes

WordPress Trac wp-trac at lists.automattic.com
Tue Nov 22 21:23:55 UTC 2011


#17979: Avoid losing widgets when switching themes
-------------------------------------+---------------------
 Reporter:  lancewillett             |       Owner:  ryan
     Type:  task (blessed)           |      Status:  closed
 Priority:  high                     |   Milestone:  3.3
Component:  Widgets                  |     Version:  2.9
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |
-------------------------------------+---------------------

Comment (by ryanduff):

 Just jumping in, and apologies if this has been mentioned in the previous
 119 (!!!) comments on this ticket, but possibly useful in the long run
 working of things...

 What if sidebars were stored as-is on theme change, but inactive if it
 doesn't match a sidebar id in the new theme with an option to re-assign it
 to one of the sidebars in the new theme?

 For example Theme A had a sidebar called right-sidebar and Theme B had a
 sidebar called Sidebar1. When switching the previous sidebar (right-
 sidebar) would be stored in its previous state, shown as inactive, and
 given the option to assign it to one of the sidebar ids in the current
 theme. This obviously would be more useful in a theme with many sidebars
 for pages, single, homepage, etc... its a lot easier to re-assign them to
 the correct sidebar areas in the new theme.

 This may need to be something hashed out later in the spirit of getting
 3.3 wrapped up and out the door and thats totally fine, just voicing my
 idea as one way it might work.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17979#comment:120>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list