Changeset 41256
- Timestamp:
- 08/16/2017 07:03:01 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/customize/class-wp-customize-color-control.php
r41162 r41256 92 92 <# var defaultValue = '#RRGGBB', defaultValueAttr = '', 93 93 isHueSlider = data.mode === 'hue'; 94 95 if ( data.defaultValue && ! isHueSlider ) { 94 if ( data.defaultValue && _.isString( data.defaultValue ) && ! isHueSlider ) { 96 95 if ( '#' !== data.defaultValue.substring( 0, 1 ) ) { 97 96 defaultValue = '#' + data.defaultValue;
Note: See TracChangeset
for help on using the changeset viewer.