Ticket #20763: 20763.2.diff
| File 20763.2.diff, 1.1 KB (added by , 14 years ago) |
|---|
-
wp-admin/custom-background.php
234 234 </tr> 235 235 <?php endif; ?> 236 236 237 <?php if ( get_theme_support( 'custom-background', 'default-image' ) ) : ?> 237 <?php $default_image = get_theme_support( 'custom-background', 'default-image' ); ?> 238 <?php if ( $default_image && get_background_image() != $default_image ) : ?> 238 239 <tr valign="top"> 239 240 <th scope="row"><?php _e('Restore Original Image'); ?></th> 240 241 <td> -
wp-admin/custom-header.php
637 637 </tr> 638 638 <?php endif; 639 639 640 if ( current_theme_supports( 'custom-header', 'default-image' ) ) : ?> 640 $default_image = get_theme_support( 'custom-header', 'default-image' ); 641 if ( $default_image && get_header_image() != $default_image ) : ?> 641 642 <tr valign="top"> 642 643 <th scope="row"><?php _e( 'Reset Image' ); ?></th> 643 644 <td>