Twenty Fourteen: fix keyboard focus on Appearance > Header view.

Props florianziegler, fixes #29787.

Built from https://develop.svn.wordpress.org/trunk@30146


git-svn-id: http://core.svn.wordpress.org/trunk@30146 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Lance Willett 2014-11-01 03:44:23 +00:00
parent 609335eef1
commit c604fd15b0
2 changed files with 2 additions and 2 deletions

View File

@ -140,7 +140,7 @@ function twentyfourteen_admin_header_image() {
<?php if ( get_header_image() ) : ?> <?php if ( get_header_image() ) : ?>
<img src="<?php header_image(); ?>" alt=""> <img src="<?php header_image(); ?>" alt="">
<?php endif; ?> <?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( '/' ) ); ?>"><?php bloginfo( 'name' ); ?></a></h1> <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>
</div> </div>
<?php <?php
} }

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.1-alpha-30145'; $wp_version = '4.1-alpha-30146';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.