Make WordPress Core

Changeset 54922


Ignore:
Timestamp:
12/01/2022 09:51:48 PM (15 months 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.

Location:
trunk/src/wp-content/themes/twentyten
Files:
3 edited

Legend:

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

    r48782 r54922  
    3030                <?php
    3131                /* translators: %s: Author display name. */
    32                 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>' );
     32                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>' );
    3333                ?>
    3434                </h1>
  • trunk/src/wp-content/themes/twentyten/footer.php

    r45609 r54922  
    2525
    2626            <div id="site-info">
    27                 <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home">
     27                <a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home">
    2828                    <?php bloginfo( 'name' ); ?>
    2929                </a>
  • 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.