WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/21/2015 09:05:29 PM (6 years ago)
Author:
lancewillett
Message:

Twenty Twelve: more fixes for escaping and minor code style issues. See #29127.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwelve/header.php

    r29842 r31262  
    4747
    4848        <?php if ( get_header_image() ) : ?>
    49         <a href="<?php echo esc_url( home_url( '/' ) ); ?>"><img src="<?php header_image(); ?>" class="header-image" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" /></a>
     49        <a href="<?php echo esc_url( home_url( '/' ) ); ?>"><img src="<?php header_image(); ?>" class="header-image" width="<?php echo esc_attr( get_custom_header()->width ); ?>" height="<?php echo esc_attr( get_custom_header()->height ); ?>" alt="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" /></a>
    5050        <?php endif; ?>
    5151    </header><!-- #masthead -->
Note: See TracChangeset for help on using the changeset viewer.