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

WordPress Trac noreply at wordpress.org
Tue Aug 8 05:36:13 UTC 2017


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

Comment (by alexvorn2):

 Replying to [comment:53 westonruter]:
 > Replying to [comment:52 alexvorn2]:
 > > When switching to a new theme we can insert default widgets with their
 setting OR to take from the previous theme. So the user will not be
 required to re-create all of their widgets.
 >
 > Taking widgets from the previous theme is the problem being addressed in
 this ticket. If there is to be an option (and UI) to reset widgets to a
 theme's defaults, then this should be tackled in #38624.

 Yeah but everything (in my idea) is different compared to what is now and
 will make everything less confusing.

 The new approach I would like to see like this:
 1. If you switch to new theme for the first time - you will get widgets
 from previous theme.
 2. If you switch back to the old theme - you get old widgets from that
 theme not from this new theme
 So it is not the same.

 Now what we have and it makes everyone confusing and frustrated:
 1. If you change/edit/remove widgets and you switch back to the old theme
 - you can not get the old widgets for that old theme.
 2. After a theme switch you get all other theme widgets in the "Inactive
 Widgets" section in the widgets.php page and if you remove them you will
 not have theme anymore if you switch back to the old theme.

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


More information about the wp-trac mailing list