Ticket #21000: theme-background-cb.diff

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

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

Line 
1--- C:/Users/Frumph/AppData/Local/Temp/theme.php-revBASE.svn000.tmp.php Thu Jun 14 07:24:25 2012
2+++ C:/src/wordpress/wp-includes/theme.php      Tue Jun 19 03:17:39 2012
3@@ -1145,7 +1145,7 @@
4                $attachment = " background-attachment: $attachment;";
5 
6                $style .= $image . $repeat . $position . $attachment;
7-       }
8+       } else $style .= " background-image: none;";
9 ?>
10 <style type="text/css" id="custom-background-css">
11 body.custom-background { <?php echo trim( $style ); ?> }