[wp-trac] [WordPress Trac] #29572: Customizer: add a framework for rendering controls from JS templates

WordPress Trac noreply at wordpress.org
Mon Feb 29 07:02:26 UTC 2016


#29572: Customizer: add a framework for rendering controls from JS templates
------------------------------+-------------------------
 Reporter:  celloexpressions  |       Owner:  ocean90
     Type:  enhancement       |      Status:  closed
 Priority:  high              |   Milestone:  4.1
Component:  Customize         |     Version:  3.4
 Severity:  normal            |  Resolution:  fixed
 Keywords:  has-patch commit  |     Focuses:  javascript
------------------------------+-------------------------

Comment (by westonruter):

 In [changeset:"36776"]:
 {{{
 #!CommitTicketReference repository="" revision="36776"
 Customize: Fix PHP notice when calling `WP_Customize_Control::json()`
 inside `content_template()` method.

 A `temp` control is instantiated when `WP_Customize_Manager::
 render_control_templates()` is called. This control needs to explicitly
 specify an empty settings array to avoid trying to use a `temp` setting
 which won't exist.

 See #35926.
 See #29572.
 }}}

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


More information about the wp-trac mailing list