Make WordPress Core

Ticket #44395: 44395.diff

File 44395.diff, 491 bytes (added by subrataemfluence, 6 years ago)
  • custom-background.php

    diff --git a/custom-background.php src/wp-admin/custom-background.php
    index a813897..59f5ae2 100755
    old new class Custom_Background { 
    256256                call_user_func( $this->admin_image_div_callback );
    257257        } else {
    258258                $background_styles = '';
    259                 if ( $bgcolor = get_background_color() ) {
     259                $bgcolor = get_background_color();
     260                if ( '' !== $bgcolor ) {
    260261                        $background_styles .= 'background-color: #' . $bgcolor . ';';
    261262                }
    262263