[wp-trac] [WordPress Trac] #40067: Add widgets settings to theme_mods option in database
WordPress Trac
noreply at wordpress.org
Wed Mar 8 04:17:56 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 | Resolution:
Keywords: | Focuses:
-------------------------+------------------------------
Comment (by westonruter):
@alexvorn2
> 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
is this not intended behavior? If it is not clear then the messaging
should make it clear that the widgets in the Inactive Widgets area are
both widgets that have been manually deactivated and also automatically
deactivated due to theme switches, and that if they get removed then they
will be deleted from the site.
Widget instances are not intrinsic to the theme. The sidebars are
intrinsic to the theme. Copying widgets into theme mods will make the
widget storage situation much worse than it already is (see #35669 for
storing widgets in a custom post type instead of options).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40067#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list