Commit 4b17b129dd for wordpress.org
commit 4b17b129dd0b0e96d64159c8af07b305699595aa
Author: audrasjb <audrasjb@git.wordpress.org>
Date: Thu Dec 1 21:53:13 2022 +0000
Twenty Ten: 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@54922
git-svn-id: http://core.svn.wordpress.org/trunk@54474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
diff --git a/wp-content/themes/twentyten/author.php b/wp-content/themes/twentyten/author.php
index 8fdd6a4632..469d7b07cf 100644
--- a/wp-content/themes/twentyten/author.php
+++ b/wp-content/themes/twentyten/author.php
@@ -29,7 +29,7 @@ if ( have_posts() ) {
<h1 class="page-title author">
<?php
/* translators: %s: Author display name. */
- printf( __( 'Author Archives: %s', 'twentyten' ), '<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', 'twentyten' ), '<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>
diff --git a/wp-content/themes/twentyten/footer.php b/wp-content/themes/twentyten/footer.php
index 07f5d118e2..4fb89116ad 100644
--- a/wp-content/themes/twentyten/footer.php
+++ b/wp-content/themes/twentyten/footer.php
@@ -24,7 +24,7 @@
?>
<div id="site-info">
- <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
+ <a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home">
<?php bloginfo( 'name' ); ?>
</a>
<?php
diff --git a/wp-content/themes/twentyten/header.php b/wp-content/themes/twentyten/header.php
index 9155b2ecaa..c98cc8810a 100644
--- a/wp-content/themes/twentyten/header.php
+++ b/wp-content/themes/twentyten/header.php
@@ -69,7 +69,7 @@ if ( is_singular() && get_option( 'thread_comments' ) ) {
<?php $heading_tag = ( is_home() || is_front_page() ) ? 'h1' : 'div'; ?>
<<?php echo $heading_tag; ?> id="site-title">
<span>
- <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>
+ <a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>
</span>
</<?php echo $heading_tag; ?>>
<div id="site-description"><?php bloginfo( 'description' ); ?></div>
@@ -112,7 +112,7 @@ if ( is_singular() && get_option( 'thread_comments' ) ) {
<div id="access" role="navigation">
<?php // Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff. ?>
- <div class="skip-link screen-reader-text"><a href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentyten' ); ?>"><?php _e( 'Skip to content', 'twentyten' ); ?></a></div>
+ <div class="skip-link screen-reader-text"><a href="#content"><?php _e( 'Skip to content', 'twentyten' ); ?></a></div>
<?php
/*
* Our navigation menu. If one isn't filled out, wp_nav_menu() falls back to wp_page_menu().
diff --git a/wp-includes/version.php b/wp-includes/version.php
index 974a3d69e9..8e04bb3fbb 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '6.2-alpha-54921';
+$wp_version = '6.2-alpha-54922';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.