Changeset 4656 for branches/2.0/wp-includes/template-functions-author.php
- Timestamp:
- 12/21/2006 10:10:04 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/wp-includes/template-functions-author.php
r4496 r4656 132 132 global $authordata; 133 133 134 echo '<a href="' . get_author_link(0, $authordata->ID, $authordata->user_nicename) . '" title="' . sprintf(__("Posts by %s"), wp_specialchars(get_the_author())) . '">' . get_the_author() . '</a>';134 echo '<a href="' . get_author_link(0, $authordata->ID, $authordata->user_nicename) . '" title="' . sprintf(__("Posts by %s"), attribute_escape(get_the_author())) . '">' . get_the_author() . '</a>'; 135 135 } 136 136 … … 198 198 $link = $name; 199 199 } else { 200 $link = '<a href="' . get_author_link(0, $author->ID, $author->user_nicename) . '" title="' . sprintf(__("Posts by %s"), wp_specialchars($author->display_name)) . '">' . $name . '</a>';200 $link = '<a href="' . get_author_link(0, $author->ID, $author->user_nicename) . '" title="' . sprintf(__("Posts by %s"), attribute_escape($author->display_name)) . '">' . $name . '</a>'; 201 201 202 202 if ( (! empty($feed_image)) || (! empty($feed)) ) {
Note: See TracChangeset
for help on using the changeset viewer.