- Timestamp:
- 08/18/2025 08:25:45 PM (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/customize/class-wp-customize-header-image-control.php
r59784 r60645 174 174 175 175 <# } #> 176 <# } else { #>177 178 <div class="placeholder">179 <?php _e( 'No image set' ); ?>180 </div>181 182 176 <# } #> 183 177 </script> … … 247 241 <?php if ( current_user_can( 'upload_files' ) ) : ?> 248 242 <button type="button"<?php echo $visibility; ?> class="button remove" aria-label="<?php esc_attr_e( 'Hide header image' ); ?>"><?php _e( 'Hide image' ); ?></button> 249 <button type="button" class="button new " id="header_image-button" aria-label="<?php esc_attr_e( 'Add Header Image' ); ?>"><?php _e( 'Add Image' ); ?></button>243 <button type="button" class="button new <?php echo ! $this->get_current_image_src() ? '' : 'customize-header-image-not-selected'; ?>" id="header_image-button" aria-label="<?php esc_attr_e( 'Add Header Image' ); ?>"><?php _e( 'Add Image' ); ?></button> 250 244 <?php endif; ?> 251 245 </div>
Note: See TracChangeset
for help on using the changeset viewer.