Changeset 17770 for trunk/wp-admin/custom-header.php
- Timestamp:
- 04/29/2011 07:45:30 PM (15 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/custom-header.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/custom-header.php
r17758 r17770 194 194 if ( isset( $_POST['removeheader'] ) ) { 195 195 check_admin_referer( 'custom-header-options', '_wpnonce-custom-header-options' ); 196 set_theme_mod( 'header_image', ' ' );196 set_theme_mod( 'header_image', 'remove-header' ); 197 197 return; 198 198 } … … 547 547 </tr> 548 548 <?php endif; 549 if ( get_header_image() && !is_random_header_image()) : ?>549 if ( get_header_image() ) : ?> 550 550 <tr valign="top"> 551 551 <th scope="row"><?php _e( 'Remove Image' ); ?></th> … … 557 557 <?php endif; 558 558 559 if ( defined( 'HEADER_IMAGE' ) && !is_random_header_image()) : ?>559 if ( defined( 'HEADER_IMAGE' ) && '' != HEADER_IMAGE ) : ?> 560 560 <tr valign="top"> 561 561 <th scope="row"><?php _e( 'Reset Image' ); ?></th>
Note: See TracChangeset
for help on using the changeset viewer.