[wp-trac] [WordPress Trac] #17979: Avoid losing widgets when switching themes
WordPress Trac
wp-trac at lists.automattic.com
Wed Sep 7 19:29:43 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 aaroncampbell):
As per [https://irclogs.wordpress.org/chanlog.php?channel=wordpress-
dev&day=2011-09-07&sort=asc#m309350 today's dev chat]
[attachment:17979.12.diff] switches over to theme mods instead of
transients. It stores an associative array where [data] is the
$sidebars_widgets array and [time] is time() from when it's stored. We
currently do nothing with time() but it's there so we can use it in the
future.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17979#comment:74>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list