[wp-trac] [WordPress Trac] #19291: Widgets move to Inactive after clearing all widgets from sidebars

WordPress Trac wp-trac at lists.automattic.com
Sat Nov 19 03:36:49 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 [comment:17 jane]:
 > This seems like the exact opposite of the original intent (don't lose
 widgets when changing themes). If I used a new theme for two weeks and
 then changed back b/c I didn't like it, losing (to Inactive) all the
 widgets I've added/messed with in the past two weeks  would really freak
 me out.

 In practice it works better: after switching themes to a brand new one (no
 saved data), widgets are matched sidebar by sidebar, so most if not all
 widgets from the old theme end up in the new theme.

 Then when switching back to the old theme, the positions of the widgets
 are restored to what they were originally. Only if new widgets were added
 after switching themes they go into inactive. If old widgets were edited
 they still go to their previous places.

 So switching to a new theme, editing the widgets a bit then switching back
 will restore them 100% (and keep any individual widget settings no matter
 when it was edited).

 The comments above are mostly about how to handle the restoration of
 widgets on switching back.

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


More information about the wp-trac mailing list