diff --git a/wp-includes/class-wp-customize-control.php b/wp-includes/class-wp-customize-control.php index cbb7cdde5d..a790b71115 100644 --- a/wp-includes/class-wp-customize-control.php +++ b/wp-includes/class-wp-customize-control.php @@ -554,6 +554,8 @@ class WP_Customize_Color_Control extends WP_Customize_Control { if ( data.defaultValue ) { if ( '#' !== data.defaultValue.substring( 0, 1 ) ) { defaultValue = '#' + data.defaultValue; + } else { + defaultValue = data.defaultValue; } defaultValue = ' data-default-color=' + defaultValue; // Quotes added automatically. } #> diff --git a/wp-includes/version.php b/wp-includes/version.php index 8a98fa7805..30cc209e6f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.1-alpha-30086'; +$wp_version = '4.1-alpha-30087'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.