Make WordPress Core

Ticket #20448: 20448-remove-bg-image.2.diff

File 20448-remove-bg-image.2.diff, 538 bytes (added by mfields, 12 years ago)
  • wp-includes/theme.php

     
    11291129                $attachment = " background-attachment: $attachment;";
    11301130
    11311131                $style .= $image . $repeat . $position . $attachment;
     1132        } else if ( '' === $background && get_theme_support( 'custom-background', 'default-image' ) ) {
     1133                $image = " background-image: none;";
     1134                $style .= $image;
    11321135        }
    11331136?>
    11341137<style type="text/css" id="custom-background-css">