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

WordPress Trac noreply at wordpress.org
Sun May 31 11:55:48 UTC 2015


#30737: JS templates for Customizer Panels and Sections
------------------------------+--------------------------
 Reporter:  celloexpressions  |       Owner:  westonruter
     Type:  enhancement       |      Status:  accepted
 Priority:  normal            |   Milestone:  4.3
Component:  Customize         |     Version:  4.1
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:
------------------------------+--------------------------

Comment (by ocean90):

 [attachment:30737.addendum.2.diff] moves  `defaultParams` out of
 `api.Container.initialize` to a `defaults` property and adds a `defaults`
 property to `api.Section`. I think this looks a bit cleaner since
 `api.Container` shouldn't care about child objects (`api.Section`).

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


More information about the wp-trac mailing list