[wp-trac] [WordPress Trac] #40177: sidebars_widgets option is not updated after activating a theme on Live Preview (on some themes)

WordPress Trac noreply at wordpress.org
Thu Mar 16 23:03:56 UTC 2017


#40177: sidebars_widgets option is not updated after activating a theme on Live
Preview (on some themes)
--------------------------+-----------------------------
 Reporter:  alexvorn2     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Customize     |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Widgets are lost after theme activation on Live Preview, a very strange
 bug, it seems the sidebars_widgets option is not saved after you press
 Save & Activate button on Live Preview...

 This bug can be replicated only doing the same steps as I did:

 1. Fresh Install
 2. Activate Twenty Fourteen theme
 3. Go to widgets.php
 4. Remove all widgets in the Primary Sidebar
 5. Add custom widget to Primary Sidebar (Calendar for example)
 6. Active Twenty Seventeen theme
 7. Now Live Preview our theme Twenty Fourteen
 (you can see that we have the Calendar widget in the live preview)
 8. Click Save & Activate
 9. Go to widgets.php page and you can see that the Primary Sidebar is
 empty and our Calendar widget is as inactive widget

 Expected to see the Calendar widget in Primary Sidebar

 I hope you can replicate this...

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40177>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list