WordPress.org

Make WordPress Core

Ticket #16919: 16919.diff

File 16919.diff, 388 bytes (added by nathanrice, 4 years ago)

Create else exception when custom bg color is chosen, but no custom bg image.

  • wp-includes/theme.php

     
    16781678 
    16791679                $style .= $image . $repeat . $position . $attachment; 
    16801680        } 
     1681        else { 
     1682                $style .= " background-image: none;" 
     1683        } 
    16811684?> 
    16821685<style type="text/css"> 
    16831686body { <?php echo trim( $style ); ?> }