WordPress.org

Make WordPress Core

Ticket #20763: 20763.diff

File 20763.diff, 563 bytes (added by mfields, 6 years ago)
  • wp-admin/custom-background.php

     
    234234</tr>
    235235<?php endif; ?>
    236236
    237 <?php if ( get_theme_support( 'custom-background', 'default-image' ) ) : ?>
     237<?php $default = get_theme_support( 'custom-background', 'default-image' ); ?>
     238<?php if ( $default && $default != get_background_image() ) : ?>
    238239<tr valign="top">
    239240<th scope="row"><?php _e('Restore Original Image'); ?></th>
    240241<td>