Don't resurrect a removed default image when changing colors in the Customizer. Props koopersmith, nacin. fixes #20448

git-svn-id: https://develop.svn.wordpress.org/trunk@21013 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2012-06-06 21:24:22 +00:00
parent b1161a6304
commit bfcfd40f49
2 changed files with 6 additions and 2 deletions

View File

@@ -312,6 +312,7 @@ final class WP_Customize_Manager {
$settings = array(
'values' => array(),
'channel' => esc_js( $_POST['customize_messenger_channel'] ),
'backgroundImageHasDefault' => current_theme_supports( 'custom-background', 'default-image' ),
);
foreach ( $this->settings as $id => $setting ) {