[wp-trac] [WordPress Trac] #27767: Customizer: Widget settings are lost when activating a previewed theme

WordPress Trac noreply at wordpress.org
Sat Apr 12 06:47:49 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:  needs-patch      |     Focuses:
-----------------------------+--------------------

Comment (by westonruter):

 I found that when I tried to click to add a new widget to a sidebar, I got
 a JS error due to `sidebar.getWidgetFormControls()` not being able to find
 the widget form controls, and returning `undefined` when it can't. I
 updated the patch to not ever return `undefined`, but this doesn't address
 the underlying problem. As soon as I added a new widget to the sidebar,
 all of a sudden a bunch of other widgets all of a sudden appeared in the
 sidebar, but they appeared faded-out indicating that they aren't shown in
 the preview.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27767#comment:9>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list