Make WordPress Core


Ignore:
Timestamp:
01/20/2015 07:02:53 PM (10 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: fix escaping and minor code style issues. See #29127.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/inc/custom-header.php

    r30146 r31250  
    141141        <img src="<?php header_image(); ?>" alt="">
    142142        <?php endif; ?>
    143         <h1 class="displaying-header-text"><a id="name"<?php echo sprintf( ' style="color:#%s;"', get_header_textcolor() ); ?> onclick="return false;" href="<?php echo esc_url( home_url( '/' ) ); ?>" tabindex="-1"><?php bloginfo( 'name' ); ?></a></h1>
     143        <h1 class="displaying-header-text"><a id="name" style="<?php echo esc_attr( sprintf( 'color: #%s;', get_header_textcolor() ) ); ?>" onclick="return false;" href="<?php echo esc_url( home_url( '/' ) ); ?>" tabindex="-1"><?php bloginfo( 'name' ); ?></a></h1>
    144144    </div>
    145145<?php
Note: See TracChangeset for help on using the changeset viewer.