[wp-trac] [WordPress Trac] #30737: JS templates for Customizer Panels and Sections

WordPress Trac noreply at wordpress.org
Wed Dec 17 02:18:21 UTC 2014


#30737: JS templates for Customizer Panels and Sections
------------------------------+----------------------------
 Reporter:  celloexpressions  |      Owner:
     Type:  enhancement       |     Status:  new
 Priority:  high              |  Milestone:  Future Release
Component:  Customize         |    Version:  trunk
 Severity:  normal            |   Keywords:  needs-patch
  Focuses:                    |
------------------------------+----------------------------
 Follow up to #28907 and #29572. This is necessary for truly dynamic
 containers, which don't require any ajax and can be added using the new JS
 API.

 This is required for Menu Customizer, which is currently working around
 the issue by supplying its own template for a generic section. I'd like to
 get this done '''early''' in 4.2.

 Working on a patch that's very similar to #29572, but for sections and
 panels. It will be possible to override in subclasses, of course, like the
 existing render/render content methods.

 If anyone's wondering why we would ever need dynamically-rendered
 ''panels'', think things like in-page theme switching, where available
 options change inline based on the previewed theme.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30737>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list