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/inc/widgets.php

    r25506 r25743  
    157157                                endif;
    158158
    159                                 printf( __( '<span class="entry-date"><a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s">%4$s</time></a></span> <span class="byline"><span class="author vcard"><a class="url fn n" href="%5$s" title="%6$s" rel="author">%7$s</a></span></span>', 'twentyfourteen' ),
     159                                printf( __( '<span class="entry-date"><a href="%1$s" rel="bookmark"><time class="entry-date" datetime="%2$s">%3$s</time></a></span> <span class="byline"><span class="author vcard"><a class="url fn n" href="%4$s" rel="author">%5s</a></span></span>', 'twentyfourteen' ),
    160160                                    esc_url( get_permalink() ),
    161                                     esc_attr( get_the_time() ),
    162161                                    esc_attr( get_the_date( 'c' ) ),
    163162                                    esc_html( get_the_date() ),
    164163                                    esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
    165                                     esc_attr( sprintf( __( 'View all posts by %s', 'twentyfourteen' ), get_the_author() ) ),
    166164                                    get_the_author()
    167165                                );
Note: See TracChangeset for help on using the changeset viewer.