From 720264ddbb30269fba4bd32052dbfdde9d5b0c42 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Sat, 26 Nov 2022 22:37:20 +0000 Subject: [PATCH] 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. git-svn-id: https://develop.svn.wordpress.org/trunk@54884 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyeleven/author.php | 2 +- src/wp-content/themes/twentyeleven/showcase.php | 2 +- src/wp-content/themes/twentyeleven/style.css | 5 +++++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/wp-content/themes/twentyeleven/author.php b/src/wp-content/themes/twentyeleven/author.php index 2a53f6c14f..ad2117324f 100644 --- a/src/wp-content/themes/twentyeleven/author.php +++ b/src/wp-content/themes/twentyeleven/author.php @@ -29,7 +29,7 @@ get_header(); ?>

' . get_the_author() . '' ); + printf( __( 'Author Archives: %s', 'twentyeleven' ), '' . get_the_author() . '' ); ?>

diff --git a/src/wp-content/themes/twentyeleven/showcase.php b/src/wp-content/themes/twentyeleven/showcase.php index 041054b8ae..7bcf05df9f 100644 --- a/src/wp-content/themes/twentyeleven/showcase.php +++ b/src/wp-content/themes/twentyeleven/showcase.php @@ -163,7 +163,7 @@ get_header(); ?> /* translators: %s: Post title. */ $title = sprintf( __( 'Featuring: %s', 'twentyeleven' ), the_title_attribute( 'echo=0' ) ); ?> -
  • >
  • +
  • >
  • diff --git a/src/wp-content/themes/twentyeleven/style.css b/src/wp-content/themes/twentyeleven/style.css index 19fd0881ad..7adc96a794 100644 --- a/src/wp-content/themes/twentyeleven/style.css +++ b/src/wp-content/themes/twentyeleven/style.css @@ -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);