Customize: Fix clearing of a color control's setting by using proper empty value.

Props stevehenty.
Fixes #30280.


Built from https://develop.svn.wordpress.org/trunk@33938


git-svn-id: http://core.svn.wordpress.org/trunk@33907 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Weston Ruter 2015-09-07 05:48:23 +00:00
parent 066c30b41e
commit 274373afc6
3 changed files with 3 additions and 3 deletions

View File

@ -1655,7 +1655,7 @@
control.setting.set( picker.wpColorPicker('color') ); control.setting.set( picker.wpColorPicker('color') );
}, },
clear: function() { clear: function() {
control.setting.set( false ); control.setting.set( '' );
} }
}); });

File diff suppressed because one or more lines are too long

View File

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