[wp-trac] [WordPress Trac] #36944: Display server-sent Customizer setting validation errors before save is attempted

WordPress Trac noreply at wordpress.org
Sun Jun 12 20:06:07 UTC 2016


#36944: Display server-sent Customizer setting validation errors before save is
attempted
----------------------------------------+--------------------------
 Reporter:  westonruter                 |       Owner:  westonruter
     Type:  defect (bug)                |      Status:  accepted
 Priority:  normal                      |   Milestone:  4.6
Component:  Customize                   |     Version:  trunk
 Severity:  normal                      |  Resolution:
 Keywords:  needs-unit-tests has-patch  |     Focuses:
----------------------------------------+--------------------------
Changes (by westonruter):

 * keywords:  needs-unit-tests needs-patch => needs-unit-tests has-patch


Comment:

 In [attachment:36944.1.diff]:

 * Export setting validities with full refreshes and selective refreshes,
 giving near immediate feedback for validation errors.
 * Introduce `WP_Customize_Manager::prepare_setting_validity_for_js()`.

 The UX should be so much better to show/hide notifications for server-side
 setting validation handling.

 @fjarrett @mrahmadawais @aristath @natewr would one or more of you please
 test?

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


More information about the wp-trac mailing list