Make WordPress Core


Ignore:
Timestamp:
12/01/2022 09:51:48 PM (2 years ago)
Author:
audrasjb
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyten/header.php

    r54492 r54922  
    7070                <<?php echo $heading_tag; ?> id="site-title">
    7171                    <span>
    72                         <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>
     72                        <a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>
    7373                    </span>
    7474                </<?php echo $heading_tag; ?>>
     
    113113            <div id="access" role="navigation">
    114114                <?php // Allow screen readers / text browsers to skip the navigation menu and get right to the good stuff. ?>
    115                 <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>
     115                <div class="skip-link screen-reader-text"><a href="#content"><?php _e( 'Skip to content', 'twentyten' ); ?></a></div>
    116116                <?php
    117117                /*
Note: See TracChangeset for help on using the changeset viewer.