Make WordPress Core

Ticket #28687: 28687-3.diff

File 28687-3.diff, 592 bytes (added by slobodanmanic, 11 years ago)
  • wp-includes/post-template.php

     
    635635                $classes[] = 'no-customize-support';
    636636        }
    637637
    638         if ( get_theme_mod( 'background_color' ) || get_background_image() )
     638        if ( ( get_theme_mod( 'background_color' ) && get_theme_support( 'custom-background', 'default-color' ) != get_theme_mod( 'background_color' ) ) || get_background_image() )
    639639                $classes[] = 'custom-background';
    640640
    641641        $page = $wp_query->get( 'page' );