WordPress.org

Make WordPress Core

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

File 20448-remove-bg-image.diff, 516 bytes (added by mfields, 23 months ago)
  • wp-includes/theme.php

     
    11291129                $attachment = " background-attachment: $attachment;"; 
    11301130 
    11311131                $style .= $image . $repeat . $position . $attachment; 
     1132        } else if ( 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">