Ticket #21130: 21130.3.patch
| File 21130.3.patch, 1.3 KB (added by SergeyBiryukov, 11 months ago) |
|---|
-
wp-admin/css/wp-admin.dev.css
4601 4601 4602 4602 .appearance_page_custom-header #headimg { 4603 4603 border: 1px solid #DFDFDF; 4604 overflow: hidden; 4604 4605 width: 100%; 4605 4606 } 4606 4607 -
wp-admin/custom-header.php
510 510 <?php if ( $this->admin_image_div_callback ) { 511 511 call_user_func( $this->admin_image_div_callback ); 512 512 } else { 513 $header_image_style = 'background-image:url(' . esc_url( get_header_image() ) . ');'; 514 if ( get_custom_header()->width ) 515 $header_image_style .= 'max-width:' . get_custom_header()->width . 'px;'; 516 if ( get_custom_header()->height ) 517 $header_image_style .= 'height:' . get_custom_header()->height . 'px;'; 513 518 ?> 514 <div id="headimg" style=" background-image:url(<?php esc_url ( header_image() ) ?>);max-width:<?php echo get_custom_header()->width; ?>px;height:<?php echo get_custom_header()->height; ?>px;">519 <div id="headimg" style="<?php echo $header_image_style; ?>"> 515 520 <?php 516 521 if ( display_header_text() ) 517 522 $style = ' style="color:#' . get_header_textcolor() . ';"';
