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

WordPress Trac noreply at wordpress.org
Sat Aug 26 18:41:01 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:  has-patch has-unit-tests commit  |     Focuses:
---------------------------------------------+-----------------------
Changes (by azaozz):

 * keywords:  has-patch needs-testing has-unit-tests => has-patch has-unit-
     tests commit


Comment:

 Tested 39693.4.diff. All seems to be working well, just like in
 [#comment:75 comment 75]. After switching back and forth through several
 themes most widgets still go to appropriate sidebars.

 The quintuple nested loop looks a bit scary, but all arrays are quite
 short so it doesn't slow down.

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


More information about the wp-trac mailing list