Changeset 1435 for trunk/wp-includes/template-functions-author.php
- Timestamp:
- 06/18/2004 12:22:09 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/template-functions-author.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/template-functions-author.php
r1355 r1435 73 73 global $id, $authordata; 74 74 75 echo '<a href="' . get_author_link(0, $authordata->ID, $authordata->user_nicename) . '" title="' . sprintf(__("Posts by %s"), htmlspecialchars(the_author($idmode, false))) . '">' . stripslashes(the_author($idmode, false)) . '</a>';75 echo '<a href="' . get_author_link(0, $authordata->ID, $authordata->user_nicename) . '" title="' . sprintf(__("Posts by %s"), htmlspecialchars(the_author($idmode, false))) . '">' . the_author($idmode, false) . '</a>'; 76 76 } 77 77 … … 144 144 if (! $hide_empty) echo $name; 145 145 } else { 146 $link = '<a href="' . get_author_link(0, $author->ID, $author->user_nicename) . '" title="' . sprintf(__("Posts by %s"), htmlspecialchars($author->user_nickname)) . '">' . stripslashes($name). '</a>';146 $link = '<a href="' . get_author_link(0, $author->ID, $author->user_nicename) . '" title="' . sprintf(__("Posts by %s"), htmlspecialchars($author->user_nickname)) . '">' . $name . '</a>'; 147 147 148 148 if ( (! empty($feed_image)) || (! empty($feed)) ) { … … 157 157 158 158 if (! empty($feed)) { 159 $title = ' title="' . stripslashes($feed). '"';160 $alt = ' alt="' . stripslashes($feed). '"';161 $name = stripslashes($feed);159 $title = ' title="' . $feed . '"'; 160 $alt = ' alt="' . $feed . '"'; 161 $name = $feed; 162 162 $link .= $title; 163 163 }
Note: See TracChangeset
for help on using the changeset viewer.