Changeset 20966
- Timestamp:
- 05/30/2012 09:58:27 PM (14 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
-
custom-background.php (modified) (1 diff)
-
custom-header.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/custom-background.php
r20901 r20966 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> -
trunk/wp-admin/custom-header.php
r20944 r20966 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>
Note: See TracChangeset
for help on using the changeset viewer.