[wp-trac] [WordPress Trac] #27390: Widget Customizer: Introduce customizer processing state

WordPress Trac noreply at wordpress.org
Thu Mar 13 07:24:31 UTC 2014


#27390: Widget Customizer: Introduce customizer processing state
----------------------------+-----------------------------
 Reporter:  westonruter     |      Owner:
     Type:  enhancement     |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Widgets         |    Version:  trunk
 Severity:  normal          |   Keywords:
  Focuses:  ui, javascript  |
----------------------------+-----------------------------
 When a widget is updated in the customizer, it submits the widget form via
 Ajax to pass the fields through the widget's update callback to validate
 the instance; this Ajax response supplies the value to then be set in the
 customizer's setting. Thus unlike other setting updates, the updating of a
 widget's setting is an asynchronous process and the Customizer needs to
 introduce a method for preventing a race condition when saving such
 settings which require server-side validation/processing to obtain the
 setting value to submit.

 Originally reported on #27112:

 > I also saw what I believe to be an unrelated issue: if I make a change
 to a widget, say its title, leaving focus in the input and then
 immediately click "Save & Publish" the setting does not get saved, even
 though I can see it in the preview. If I first click out of the input
 (blur) and then click "Save & Publish", the setting gets updated as
 expected. It sticks. I'll do more investigation.

 https://core.trac.wordpress.org/ticket/27112#comment:13

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27390>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list