WordPress.org

Make WordPress Core

Ticket #21433: 21433.patch

File 21433.patch, 794 bytes (added by kawauso, 21 months ago)
  • wp-admin/custom-header.php

     
    511511          call_user_func( $this->admin_image_div_callback ); 
    512512        } else { 
    513513        ?> 
    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;"> 
     514        <div id="headimg" style="background-image:url(<?php echo esc_url( get_header_image() ); ?>);max-width:<?php echo get_custom_header()->width; ?>px;height:<?php echo get_custom_header()->height; ?>px;"> 
    515515                <?php 
    516516                if ( display_header_text() ) 
    517517                        $style = ' style="color:#' . get_header_textcolor() . ';"';