Changeset 1435 for trunk/wp-includes/template-functions-comment.php
- Timestamp:
- 06/18/2004 12:22:09 AM (22 years ago)
- File:
-
- 1 edited
-
trunk/wp-includes/template-functions-comment.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/template-functions-comment.php
r1405 r1435 161 161 $email = apply_filters('comment_email', $comment->comment_author_email); 162 162 if ((!empty($email)) && ($email != '@')) { 163 $display = ($linktext != '') ? $linktext : stripslashes($email);163 $display = ($linktext != '') ? $linktext : $email; 164 164 echo $before; 165 165 echo "<a href='mailto:$email'>$display</a>"; … … 173 173 174 174 if ((!empty($url)) && ($url != 'http://') && ($url != 'http://url')) { 175 $display = ($linktext != '') ? $linktext : stripslashes($url);175 $display = ($linktext != '') ? $linktext : $url; 176 176 echo "$before<a href='$url' rel='external'>$display</a>$after"; 177 177 }
Note: See TracChangeset
for help on using the changeset viewer.