[wp-trac] [WordPress Trac] #17979: Avoid losing widgets when switching themes

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 8 21:39:32 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):

 Personally I think the problem with (de)activation hooks isn't that
 they're bad, but that they're inconsistent in plugins and thus we have a
 bad taste in our mouths (they're broke so people shouldn't use them).

 Anyway, I don't really look at this as an activation hook because it
 offers something that an activation hook doesn't.  It gives plugins the
 chance to know what the theme WAS as well as what it IS.  It's something
 that seems like it could be useful for any plugins that want to make theme
 switching better (user-interactive mapping of widgets or menus, maybe
 migration of certain theme mods, etc).

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17979#comment:91>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list