Make WordPress Core


Ignore:
Timestamp:
12/01/2022 10:04:13 PM (4 years ago)
Author:
audrasjb
Message:

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.

File:
1 edited

Legend:

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

    r54405 r54924  
    3737        <header id="masthead" class="site-header">
    3838                <hgroup>
    39                         <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>
     39                        <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
    4040                        <h2 class="site-description"><?php bloginfo( 'description' ); ?></h2>
    4141                </hgroup>
    … …  
    4343                <nav id="site-navigation" class="main-navigation">
    4444                        <button class="menu-toggle"><?php _e( 'Menu', 'twentytwelve' ); ?></button>
    45                         <a class="assistive-text" href="#content" title="<?php esc_attr_e( 'Skip to content', 'twentytwelve' ); ?>"><?php _e( 'Skip to content', 'twentytwelve' ); ?></a>
     45                        <a class="assistive-text" href="#content"><?php _e( 'Skip to content', 'twentytwelve' ); ?></a>
    4646                        <?php
    4747                        wp_nav_menu(
Note: See TracChangeset for help on using the changeset viewer.