Make WordPress Core

Ticket #28687: 28687-4.diff

File 28687-4.diff, 537 bytes (added by nitkr, 11 years ago)
  • wp-includes/post-template.php

     
    639639                $classes[] = 'no-customize-support';
    640640        }
    641641
    642         if ( get_theme_mod( 'background_color' ) || get_background_image() )
     642        if ( get_background_color() !== get_theme_support( 'custom-background', 'default-color' ) || get_background_image() )
    643643                $classes[] = 'custom-background';
    644644
    645645        $page = $wp_query->get( 'page' );