Twenty Thirteen: Remove unwanted `title` attributes.

This changeset removes `title` attributes from various links, as they add redundant information.

Follow-up to [53844].

Props sabernhardt, costdev, mukesh27.
See #57199, #24766, #24203.

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


git-svn-id: http://core.svn.wordpress.org/trunk@54475 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2022-12-01 21:56:11 +00:00
parent 4b17b129dd
commit 1073998752
3 changed files with 4 additions and 4 deletions

View File

@ -31,7 +31,7 @@ get_header(); ?>
<h1 class="archive-title"> <h1 class="archive-title">
<?php <?php
/* translators: %s: Author display name. */ /* translators: %s: Author display name. */
printf( __( 'All posts by %s', 'twentythirteen' ), '<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( __( 'All posts by %s', 'twentythirteen' ), '<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> </h1>
</header><!-- .archive-header --> </header><!-- .archive-header -->

View File

@ -34,7 +34,7 @@
<?php wp_body_open(); ?> <?php wp_body_open(); ?>
<div id="page" class="hfeed site"> <div id="page" class="hfeed site">
<header id="masthead" class="site-header"> <header id="masthead" class="site-header">
<a class="home-link" href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"> <a class="home-link" href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home">
<h1 class="site-title"><?php bloginfo( 'name' ); ?></h1> <h1 class="site-title"><?php bloginfo( 'name' ); ?></h1>
<h2 class="site-description"><?php bloginfo( 'description' ); ?></h2> <h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
</a> </a>
@ -42,7 +42,7 @@
<div id="navbar" class="navbar"> <div id="navbar" class="navbar">
<nav id="site-navigation" class="navigation main-navigation"> <nav id="site-navigation" class="navigation main-navigation">
<button class="menu-toggle"><?php _e( 'Menu', 'twentythirteen' ); ?></button> <button class="menu-toggle"><?php _e( 'Menu', 'twentythirteen' ); ?></button>
<a class="screen-reader-text skip-link" href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentythirteen' ); ?>"><?php _e( 'Skip to content', 'twentythirteen' ); ?></a> <a class="screen-reader-text skip-link" href="#content"><?php _e( 'Skip to content', 'twentythirteen' ); ?></a>
<?php <?php
wp_nav_menu( wp_nav_menu(
array( array(

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.2-alpha-54922'; $wp_version = '6.2-alpha-54923';
/** /**
* 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.