diff --git a/src/wp-admin/js/customize-controls.js b/src/wp-admin/js/customize-controls.js
index 363e965..1f8a0d9 100644
|
a
|
b
|
|
| 162 | 162 | renderContent: function( callback ) { |
| 163 | 163 | var template, |
| 164 | 164 | selector = 'customize-control-' + this.params.type + '-content'; |
| 165 | | |
| 166 | 165 | callback = callback || function(){}; |
| 167 | 166 | if ( 0 !== $( '#tmpl-' + selector ).length ) { |
| 168 | 167 | template = wp.template( selector ); |
diff --git a/src/wp-includes/class-wp-customize-control.php b/src/wp-includes/class-wp-customize-control.php
index cbb7cdd..f4cddad 100644
|
a
|
b
|
class WP_Customize_Color_Control extends WP_Customize_Control { |
| 555 | 555 | if ( '#' !== data.defaultValue.substring( 0, 1 ) ) { |
| 556 | 556 | defaultValue = '#' + data.defaultValue; |
| 557 | 557 | } |
| | 558 | else { |
| | 559 | defaultValue = data.defaultValue; |
| | 560 | } |
| 558 | 561 | defaultValue = ' data-default-color=' + defaultValue; // Quotes added automatically. |
| 559 | 562 | } #> |
| 560 | 563 | <label> |