[wp-trac] [WordPress Trac] #39693: Fix missing assignment of widgets on theme switch

WordPress Trac noreply at wordpress.org
Mon Feb 6 01:00:08 UTC 2017


#39693: Fix missing assignment of widgets on theme switch
-------------------------+------------------
 Reporter:  melchoyce    |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  4.8
Component:  Widgets      |     Version:
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------

Comment (by celloexpressions):

 It seems like #19912 is still the best long term approach here. Wherever
 possible, widget and menu assignment should be automatic when switching
 themes. However, providing user control over menus/widget groups that can
 be assigned to locations is the only clean way to allow users to quickly
 restore their desired configurations when automatic assignment fails. The
 UX of menu locations could certainly use improvement, but unifying widgets
 with menus is a good first step.

 This ticket would be a good place to explore additional ways to automate
 widget assignments, both with and without the concept of widget groups.
 The widget groups concept is very powerful in that it will facilitate
 separating the majority of widget information from specific instances on
 specific themes - like with menus, actual widgets could be more logically
 stored in posts with only the widget group being stored in a theme-
 specific option (`theme_mod`). In situations where a site may switch
 between different themes seasonally or for other reasons (even, say, going
 back and forth with child themes), changes made to a widget in one theme
 don't sync with similar widget instances in other themes currently.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39693#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list