Make WordPress Core


Ignore:
Timestamp:
04/28/2009 05:58:45 AM (16 years ago)
Author:
ryan
Message:

s/attribute_escape/attr/. see #9650

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/author-template.php

    r10810 r11109  
    422422        '<a href="%1$s" title="%2$s">%3$s</a>',
    423423        get_author_posts_url( $authordata->ID, $authordata->user_nicename ),
    424         sprintf( __( 'Posts by %s' ), attribute_escape( get_the_author() ) ),
     424        sprintf( __( 'Posts by %s' ), attr( get_the_author() ) ),
    425425        get_the_author()
    426426    );
     
    545545                $link = $name;
    546546        } else {
    547             $link = '<a href="' . get_author_posts_url($author->ID, $author->user_nicename) . '" title="' . sprintf(__("Posts by %s"), attribute_escape($author->display_name)) . '">' . $name . '</a>';
     547            $link = '<a href="' . get_author_posts_url($author->ID, $author->user_nicename) . '" title="' . sprintf(__("Posts by %s"), attr($author->display_name)) . '">' . $name . '</a>';
    548548
    549549            if ( (! empty($feed_image)) || (! empty($feed)) ) {
Note: See TracChangeset for help on using the changeset viewer.