WordPress.org

Make WordPress Core

Ticket #9931: 9931.diff

File 9931.diff, 1.3 KB (added by wojtek.szkutnik, 4 years ago)
  • wp-admin/custom-header.php

     
    421421                $this->process_default_headers(); 
    422422?> 
    423423 
     424<?php screen_icon(); ?> 
    424425<div class="wrap"> 
    425 <?php screen_icon(); ?> 
    426426<h2><?php _e('Custom Header'); ?></h2> 
    427427 
    428428<?php if ( ! empty( $this->updated ) ) { ?> 
     
    430430<p><?php printf( __( 'Header updated. <a href="%s">Visit your site</a> to see how it looks.' ), home_url( '/' ) ); ?></p> 
    431431</div> 
    432432<?php } ?> 
    433  
     433<div class="custom-header-image"> 
    434434<h3><?php _e( 'Header Image' ) ?></h3> 
    435435<table class="form-table"> 
    436436<tbody> 
     
    475475</tr> 
    476476</tbody> 
    477477</table> 
     478</div> 
    478479 
    479480<form method="post" action="<?php echo esc_attr( add_query_arg( 'step', 1 ) ) ?>"> 
     481<div class="default-header-images"> 
    480482<table class="form-table"> 
    481483<tbody> 
    482484        <?php if ( ! empty( $this->default_headers ) ) : ?> 
     
    512514        <?php endif; ?> 
    513515</tbody> 
    514516</table> 
    515  
     517</div> 
    516518        <?php if ( $this->header_text() ) : ?> 
     519<div class="custom-header-text"> 
    517520<h3><?php _e( 'Header Text' ) ?></h3> 
    518521<table class="form-table"> 
    519522<tbody> 
     
    552555 
    553556</tbody> 
    554557</table> 
     558</div> 
    555559        <?php endif; 
    556560 
    557561wp_nonce_field( 'custom-header-options', '_wpnonce-custom-header-options' ); ?>