]> scripts.mit.edu Git - autoinstalls/wordpress.git/blobdiff - wp-content/themes/twentyfourteen/inc/custom-header.php
WordPress 4.2
[autoinstalls/wordpress.git] / wp-content / themes / twentyfourteen / inc / custom-header.php
index c922e641b9b0ca7f2a08ad3098f50592d4be2957..287b10682d6296f7f9f69ecc46a987d687b18cb6 100644 (file)
@@ -140,7 +140,7 @@ function twentyfourteen_admin_header_image() {
                <?php if ( get_header_image() ) : ?>
                <img src="<?php header_image(); ?>" alt="">
                <?php endif; ?>
-               <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>
+               <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>
        </div>
 <?php
 }