Customizer: Improve JS templates for Panels and Sections added in [32658].

* Always fall back to using the default template if no custom template exists.
* Provide a set of default params when constructing new `Section` and `Panel` objects.

Includes QUnit tests.

Props celloexpressions, westonruter, ocean90.
Fixes #30737.
Built from https://develop.svn.wordpress.org/trunk@32681


git-svn-id: http://core.svn.wordpress.org/trunk@32651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dominik Schilling
2015-06-01 22:47:25 +00:00
parent 02f5020d52
commit 974ca19e36
3 changed files with 71 additions and 18 deletions

View File

@@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.3-alpha-32680';
$wp_version = '4.3-alpha-32681';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.