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

WordPress Trac noreply at wordpress.org
Tue Jun 14 13:00:48 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:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+--------------------------

Comment (by mrahmadawais):

 Replying to [comment:8 westonruter]:

 So, I went ahead and tested the patch. Works perfect. The UX is much
 better now. I had a similar concern as of what @NateWr had on extending a
 `Notification` object's `data` param to display the notification for the
 right Setting ID (which may be attached to another Setting ID triggering
 the validation error) but you have already answered and addressed it in
 the PR 180.

 +1 for the commit for sure.

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


More information about the wp-trac mailing list