[wp-trac] [WordPress Trac] #17979: Avoid losing widgets when switching themes
WordPress Trac
wp-trac at lists.automattic.com
Mon Sep 5 21:03:45 UTC 2011
#17979: Avoid losing widgets when switching themes
-------------------------------------------------+------------------
Reporter: lancewillett | Owner:
Type: enhancement | Status: new
Priority: high | Milestone: 3.3
Component: Widgets | Version: 2.9
Severity: normal | Resolution:
Keywords: ux-feedback has-patch needs-testing |
-------------------------------------------------+------------------
Comment (by SergeyBiryukov):
Replying to [comment:68 azaozz]:
> Perhaps better would be to run retrieve_widgets() on the first login
after install (i.e. set the option 'theme_switched' to true).
In that case, Inactive Widgets becomes pre-populated on the first login,
which seems weird (currently it happens too, being a regression from 3.1
to 3.2).
So I guess updating `sidebars_widgets` defaults when releasing a new theme
is a cleaner solution.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17979#comment:70>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list