[wp-trac] [WordPress Trac] #32941: Customizer changes to input field values after clicking Save not recorded

WordPress Trac noreply at wordpress.org
Fri Apr 22 18:08:19 UTC 2016


#32941: Customizer changes to input field values after clicking Save not recorded
--------------------------+-------------------------
 Reporter:  mb5324897     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.6
Component:  Customize     |     Version:  4.2.2
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  javascript
--------------------------+-------------------------

Comment (by westonruter):

 Replying to [comment:6 chandrapatel]:
 > Another alternative solution is, We disable only `Save & Publish`
 button. User can change settings during ajax request in-progress and we
 set flag if any settings changed and once ajax request complete then we
 check if flag set then we enable `Save & Publish`. So user can save their
 settings again. If flag not set then `save` button in disabled mode.

 That's a good idea. After the successful save response comes back, if any
 `change` events triggered on `wp.customize` during the save request, then
 the `saved` state should be reset to `false` instead of being `true`, and
 any of the settings that were modified during the save request should not
 have their `_dirty` state reset to `false`.

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


More information about the wp-trac mailing list