[wp-trac] [WordPress Trac] #28709: Improve/introduce Customizer JS models for Controls, Sections, and Panels

WordPress Trac noreply at wordpress.org
Thu Oct 23 07:52:10 UTC 2014


#28709: Improve/introduce Customizer JS models for Controls, Sections, and Panels
------------------------------------+-------------------------
 Reporter:  westonruter             |       Owner:
     Type:  enhancement             |      Status:  new
 Priority:  high                    |   Milestone:  4.1
Component:  Customize               |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:  javascript
------------------------------------+-------------------------

Comment (by westonruter):

 In [attachment:28709.wip.6.diff] ([https://github.com/xwpco/wordpress-
 develop/compare/c7816e1e777f25e0b52a3935b0b765455a11a8cc...2a5c56abda35b47cb946a11d36b31940ca030b69
 new changes]):

  * Add initial unit tests for `wp.customize.Class` in `customize-base.js`
  * From #29758, add PHP API for contextual panels/sections (props
 @celloexpressions) along with JS one.
  * Eliminate `SidebarControl.toggleActive` in favor of setting the
 containing section's `active` state, using the API from #29758.

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


More information about the wp-trac mailing list