Twenty Eleven: Remove useless `title` attributes.
This changeset removes `title` attributes from various links, as they are adding redundant information. Props sabernhardt. See #57199, #24766, #24203. Built from https://develop.svn.wordpress.org/trunk@54884 git-svn-id: http://core.svn.wordpress.org/trunk@54436 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9666402c47
commit
ca5bf74221
|
@ -29,7 +29,7 @@ get_header(); ?>
|
|||
<h1 class="page-title author">
|
||||
<?php
|
||||
/* translators: %s: Author display name. */
|
||||
printf( __( 'Author Archives: %s', 'twentyeleven' ), '<span class="vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '" title="' . esc_attr( get_the_author() ) . '" rel="me">' . get_the_author() . '</a></span>' );
|
||||
printf( __( 'Author Archives: %s', 'twentyeleven' ), '<span class="vcard"><a class="url fn n" href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '" rel="me">' . get_the_author() . '</a></span>' );
|
||||
?>
|
||||
</h1>
|
||||
</header>
|
||||
|
|
|
@ -163,7 +163,7 @@ get_header(); ?>
|
|||
/* translators: %s: Post title. */
|
||||
$title = sprintf( __( 'Featuring: %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) );
|
||||
?>
|
||||
<li><a href="#featured-post-<?php echo esc_attr( $counter_slider ); ?>" title="<?php echo esc_attr( $title ); ?>"<?php echo $class; ?>></a></li>
|
||||
<li><a href="#featured-post-<?php echo esc_attr( $counter_slider ); ?>"<?php echo $class; ?>><span class="feature-slider-tooltip" aria-hidden="true" title="<?php echo esc_attr( $title ); ?>"></span><span class="screen-reader-text"><?php echo esc_html( $title ); ?></span></a></li>
|
||||
<?php endwhile; ?>
|
||||
</ul>
|
||||
</nav>
|
||||
|
|
|
@ -1628,6 +1628,11 @@ section.feature-image.large img {
|
|||
width: 14px;
|
||||
height: 14px;
|
||||
}
|
||||
.feature-slider a .feature-slider-tooltip {
|
||||
display: block;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
}
|
||||
.feature-slider a.active {
|
||||
background: #1982d1;
|
||||
-webkit-box-shadow: inset 1px 1px 5px rgba(0,0,0,0.4), inset 0 0 2px rgba(255,255,255,0.8);
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.2-alpha-54883';
|
||||
$wp_version = '6.2-alpha-54884';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue