[wp-trac] [WordPress Trac] #36944: Display server-sent Customizer setting validation errors before save is attempted
WordPress Trac
noreply at wordpress.org
Mon Jun 13 15:19:59 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 westonruter):
Replying to [comment:7 mrahmadawais]:
> So, to test it, I need to apply this patch to the core, what else?
Should I install the validation gist plugin as an example?
Exactly. Apply the patch and add the
[https://gist.github.com/westonruter/1016332b18ee7946dec3 Customize
Validate Entitled Settings] demo plugin. You should see then that
validation errors happen in conjunction with selective refreshes and full
refreshes.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36944#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list