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

WordPress Trac noreply at wordpress.org
Sun Apr 13 05:49:28 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 gcorne):

 Replying to [comment:13 gcorne]:
 > While testing, I discovered an issue with previewing {{{twentyeleven}}}
 and the widget "Twenty Eleven Ephemera." I can add the widget just fine,
 but making changes to the widget doesn't seem to work

 This is caused by the ajax calls with {{{action == 'update-widget'}}} not
 including the {{{theme}}} parameter, so the customizer doesn't load in
 preview mode. Unfortunately, making that change exposes issues with the
 other work that I had done to override the {{{sidebars_widgets}}} to apply
 {{{retrieve_widgets()}}} under certain circumstances. Figuring out how to
 best handle that requires more thought.

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


More information about the wp-trac mailing list