[wp-trac] [WordPress Trac] #27767: Customizer: Widget settings are lost when activating a previewed theme
WordPress Trac
noreply at wordpress.org
Sun Apr 13 20:01:34 UTC 2014
#27767: Customizer: Widget settings are lost when activating a previewed theme
-------------------------------------+--------------------
Reporter: ocean90 | Owner:
Type: defect (bug) | Status: new
Priority: highest omg bbq | Milestone: 3.9
Component: Appearance | Version: trunk
Severity: blocker | Resolution:
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+--------------------
Comment (by westonruter):
Replying to [comment:21 gcorne]:
> Replying to [comment:20 ocean90]:
> > Found an issue with [attachment:27767-07.patch]: After saving &
activating the theme the widgets are in the right place, but after
visiting wp-admin/widgets.php (where `retrieve_widgets()` is called too)
the widget is moved to another sidebar, see screencast
https://cloudup.com/cCQwwH0gVPQ.
>
> [attachment:27767-08.patch 27767-08.patch] fixes this.
Good one! Your [https://github.com/x-team/wordpress-
develop/commit/26e42c63168ce3ec94c53df8853fee87244c0638 most recent
change] to `remove_theme_mod( 'sidebars_widgets' )` was what I was also
working on. This also fixes the problem for me.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27767#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list