Make WordPress Core

Ticket #28687: 28687.5.diff

File 28687.5.diff, 558 bytes (added by valendesigns, 11 years ago)
  • src/wp-includes/post-template.php

    diff --git src/wp-includes/post-template.php src/wp-includes/post-template.php
    index eb794fa..f128d74 100644
    function get_body_class( $class = '' ) { 
    646646                $classes[] = 'no-customize-support';
    647647        }
    648648
    649         if ( get_theme_mod( 'background_color' ) || get_background_image() )
     649        if ( get_background_color() !== get_theme_support( 'custom-background', 'default-color' ) || get_background_image() )
    650650                $classes[] = 'custom-background';
    651651
    652652        $page = $wp_query->get( 'page' );