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

WordPress Trac wp-trac at lists.automattic.com
Thu Nov 17 22:31:28 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 lancewillett):

 Jane reported today in IRC #wordpress-dev that this didn't work correctly
 in testing:

 > Jane: test site had 2010 as theme, with some widgets. activated 2011 on
 themes.php. Refreshed itself to themes.php?activated=true and showed alert
 message " New theme activated. This theme supports widgets, please visit
 the widgets settings screen to configure them." Go to widgets screen,
 widgets in primary sidebar in 2010 are not in sidebar, no widgets live
 anymore

 > Jane: switch back to 2010, same message appears on
 themes.php?activated=true and 2010 sidebar comes back

 Nacin then chimed in:

 > nacin: I stumbled across it yesterday and things broke every which way.

 I looked through all the files that were modified as part of this
 functionality change, and I don't see anything that would make the widgets
 behave differently since we pushed this out two months ago.

 I also can't reproduce in testing, using 3.3-beta3-19326. I cleared theme
 mods out, still works correctly.

 We've been running this on WP.com for 5 weeks now, and it's stable.

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


More information about the wp-trac mailing list