[wp-trac] [WordPress Trac] #38845: Implement HTML5 input validity constraints in customizer settings

WordPress Trac noreply at wordpress.org
Thu Jan 19 00:59:02 UTC 2017


#38845: Implement HTML5 input validity constraints in customizer settings
-------------------------+------------------
 Reporter:  westonruter  |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  4.8
Component:  Customize    |     Version:  4.6
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:
-------------------------+------------------

Comment (by westonruter):

 Actually, I think this should tie in directly with #39634 and the creation
 of REST API endpoints for settings. We should re-use JSON Schema as much
 as possible to define what settings look like. Ideally the `input_attrs`
 for the control could be derived from the schema for the setting.

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


More information about the wp-trac mailing list