mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -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 ) {
|
||||
|
||||
Reference in New Issue
Block a user