Make WordPress Core


Ignore:
Timestamp:
10/09/2013 07:06:06 PM (12 years ago)
Author:
lancewillett
Message:

Twenty Fourteen: remove title attributes for better accessibility. Props sabreuse for original patch, see #25054.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/functions.php

    r25736 r25743  
    333333    }
    334334
    335     printf( '<a href="%1$s" title="%2$s" rel="attachment">%3$s</a>',
     335    printf( '<a href="%1$s" rel="attachment">%2$s</a>',
    336336        esc_url( $next_attachment_url ),
    337         the_title_attribute( array( 'echo' => false ) ),
    338337        wp_get_attachment_image( $post->ID, $attachment_size )
    339338    );
Note: See TracChangeset for help on using the changeset viewer.