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

WordPress Trac noreply at wordpress.org
Wed Sep 6 17:57:16 UTC 2017


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

Comment (by obenland):

 > The lost widgets logic appears to be blowing a way old single widgets
 that lack widget numbers. I think that logic could probably be removed?

 The purpose of that piece of code is to keep a default set of widgets in
 the sidebar. So it should probably just be enhanced to account for widgets
 without numbers

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


More information about the wp-trac mailing list