[wp-trac] [WordPress Trac] #40067: Add widgets settings to theme_mods option in database

WordPress Trac noreply at wordpress.org
Wed Mar 8 03:27:04 UTC 2017


#40067: Add widgets settings to theme_mods option in database
-------------------------+-----------------------------
 Reporter:  alexvorn2    |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Widgets      |    Version:  trunk
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 After a theme switch, only sidebars data is saved with widgets ids, but
 not widgets data is stored. I think widgets settings should be stored too
 because sometimes widgets settings can be lost on other themes so when you
 switch back to the old theme, all widgets can be gone.

 You can test by yourself: after you will switch off a theme you will
 notice that old theme widgets are listed in the "Inactive Widgets" widget
 area, so if you click
 "Clear Inactive Widgets" all widgets will get away forever, so when you
 will switch back to your old theme, no widgets will show.

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


More information about the wp-trac mailing list