WordPress.org

Make WordPress Core

Ticket #21510: get_background_color.diff

File get_background_color.diff, 458 bytes (added by greenshady, 3 years ago)
  • wp-includes/theme.php

     
    11291129 
    11301130        // $color is the saved custom color. 
    11311131        // A default has to be specified in style.css. It will not be printed here. 
    1132         $color = get_theme_mod( 'background_color' ); 
     1132        $color = get_background_color(); 
    11331133 
    11341134        if ( ! $background && ! $color ) 
    11351135                return;