Commit 74a83fd163 for wordpress.org
commit 74a83fd163a12a4ffca5a35a1456c757eb39c320
Author: audrasjb <audrasjb@git.wordpress.org>
Date: Thu Dec 1 22:06:13 2022 +0000
Twenty Twelve: 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@54924
git-svn-id: http://core.svn.wordpress.org/trunk@54476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
diff --git a/wp-content/themes/twentytwelve/author.php b/wp-content/themes/twentytwelve/author.php
index 8b3b22e266..b0b7a57314 100644
--- a/wp-content/themes/twentytwelve/author.php
+++ b/wp-content/themes/twentytwelve/author.php
@@ -33,7 +33,7 @@ get_header(); ?>
<h1 class="archive-title">
<?php
/* translators: Author display name. */
- printf( __( 'Author Archives: %s', 'twentytwelve' ), '<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', 'twentytwelve' ), '<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><!-- .archive-header -->
diff --git a/wp-content/themes/twentytwelve/header.php b/wp-content/themes/twentytwelve/header.php
index fcb5f89875..0d4cf9441a 100644
--- a/wp-content/themes/twentytwelve/header.php
+++ b/wp-content/themes/twentytwelve/header.php
@@ -36,13 +36,13 @@
<div id="page" class="hfeed site">
<header id="masthead" class="site-header">
<hgroup>
- <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
+ <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
<h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
</hgroup>
<nav id="site-navigation" class="main-navigation">
<button class="menu-toggle"><?php _e( 'Menu', 'twentytwelve' ); ?></button>
- <a class="assistive-text" href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentytwelve' ); ?>"><?php _e( 'Skip to content', 'twentytwelve' ); ?></a>
+ <a class="assistive-text" href="#content"><?php _e( 'Skip to content', 'twentytwelve' ); ?></a>
<?php
wp_nav_menu(
array(
diff --git a/wp-includes/version.php b/wp-includes/version.php
index d2f05150e4..304d2817db 100644
--- a/wp-includes/version.php
+++ b/wp-includes/version.php
@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
-$wp_version = '6.2-alpha-54923';
+$wp_version = '6.2-alpha-54924';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.