WordPress.org

Make WordPress Core

Ticket #17535: 17535.patch

File 17535.patch, 598 bytes (added by ocean90, 4 years ago)
  • wp-content/themes/twentyeleven/functions.php

     
    304304                <div id="desc"<?php echo $style; ?>><?php bloginfo( 'description' ); ?></div> 
    305305                <?php $header_image = get_header_image(); 
    306306                if ( ! empty( $header_image ) ) : ?> 
    307                         <img src="<?php esc_url( $header_image ); ?>" alt="" /> 
     307                        <img src="<?php echo esc_url( $header_image ); ?>" alt="" /> 
    308308                <?php endif; ?> 
    309309        </div> 
    310310<?php }