Make WordPress Core


Ignore:
Timestamp:
12/10/2011 07:18:51 PM (14 years ago)
Author:
ryan
Message:

More consistent attribute escaping. Props nacin.

File:
1 edited

Legend:

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

    r19058 r19582  
    474474        sprintf( '<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s">%3$s</a></span>',
    475475            get_author_posts_url( get_the_author_meta( 'ID' ) ),
    476             sprintf( esc_attr__( 'View all posts by %s', 'twentyten' ), get_the_author() ),
     476            esc_attr( sprintf( __( 'View all posts by %s', 'twentyten' ), get_the_author() ) ),
    477477            get_the_author()
    478478        )
Note: See TracChangeset for help on using the changeset viewer.