Make WordPress Core

Ticket #21000: theme-background-cb.diff

File theme-background-cb.diff, 479 bytes (added by Frumph, 12 years ago)

adding a background: none for when there is a $color but not $background

  • .php

    old new  
    11451145                $attachment = " background-attachment: $attachment;";
    11461146
    11471147                $style .= $image . $repeat . $position . $attachment;
    1148         }
     1148        } else $style .= " background-image: none;";
    11491149?>
    11501150<style type="text/css" id="custom-background-css">
    11511151body.custom-background { <?php echo trim( $style ); ?> }