[wp-trac] [WordPress Trac] #30738: JS content templates for base WP_Customize_Control

WordPress Trac noreply at wordpress.org
Sat Sep 23 17:16:19 UTC 2017


#30738: JS content templates for base WP_Customize_Control
-------------------------------------+-------------------------------------
 Reporter:  celloexpressions         |       Owner:  westonruter
     Type:  enhancement              |      Status:  accepted
 Priority:  high                     |   Milestone:  4.9
Component:  Customize                |     Version:  4.1
 Severity:  normal                   |  Resolution:
 Keywords:  needs-unit-tests has-    |     Focuses:  accessibility,
  patch needs-testing                |  javascript, rest-api
-------------------------------------+-------------------------------------

Comment (by westonruter):

 For the approach on how we should handle `input_attrs` we should output
 just the raw key/value pairs and then loop over them in the template to
 output. This is what I just added in
 https://core.trac.wordpress.org/attachment/ticket/41872/41872.5.diff

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


More information about the wp-trac mailing list