Changeset 11204 for trunk/wp-includes/author-template.php
- Timestamp:
- 05/05/2009 07:43:53 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/author-template.php
r11190 r11204 182 182 '<a href="%1$s" title="%2$s">%3$s</a>', 183 183 get_author_posts_url( $authordata->ID, $authordata->user_nicename ), 184 sprintf( __( 'Posts by %s' ), attr( get_the_author() ) ),184 sprintf( __( 'Posts by %s' ), esc_attr( get_the_author() ) ), 185 185 get_the_author() 186 186 ); … … 293 293 $link = $name; 294 294 } else { 295 $link = '<a href="' . get_author_posts_url($author->ID, $author->user_nicename) . '" title="' . sprintf(__("Posts by %s"), attr($author->display_name)) . '">' . $name . '</a>';295 $link = '<a href="' . get_author_posts_url($author->ID, $author->user_nicename) . '" title="' . sprintf(__("Posts by %s"), esc_attr($author->display_name)) . '">' . $name . '</a>'; 296 296 297 297 if ( (! empty($feed_image)) || (! empty($feed)) ) {
Note: See TracChangeset
for help on using the changeset viewer.