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

WordPress Trac wp-trac at lists.automattic.com
Wed Sep 14 20:51:54 UTC 2011


#17979: Avoid losing widgets when switching themes
-------------------------------------------------+------------------
 Reporter:  lancewillett                         |       Owner:
     Type:  enhancement                          |      Status:  new
 Priority:  high                                 |   Milestone:  3.3
Component:  Widgets                              |     Version:  2.9
 Severity:  normal                               |  Resolution:
 Keywords:  ux-feedback has-patch needs-testing  |
-------------------------------------------------+------------------

Comment (by azaozz):

 Replying to [comment:93 mdawaffe]:
 > To test, set {{{$sidebars_widgets['array_version']}}} to 1, for example.

 Was thinking it's time to remove that code completely. It was used to
 convert the `$sidebars_widgets` format in WP 2.2 I believe.

 Without it the worst case scenario would be that all widgets are dumped in
 "Inactive", and it will be overwritten on the first movement of a widget
 on the widgets config screen.

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


More information about the wp-trac mailing list