Ticket #5789: 5789.diff
File 5789.diff, 788 bytes (added by , 16 years ago) |
---|
-
wp-includes/comment-template.php
108 108 $url = get_comment_author_url(); 109 109 $author = get_comment_author(); 110 110 111 if ( empty( $url ) || 'http://' == $url)111 if ( empty( $url ) ) 112 112 $return = $author; 113 113 else 114 114 $return = "<a href='$url' rel='external nofollow'>$author</a>"; … … 159 159 */ 160 160 function get_comment_author_url() { 161 161 global $comment; 162 return apply_filters('get_comment_author_url', $comment->comment_author_url); 162 $url = $comment->comment_author_url; 163 164 if ( 'http://' == $url ) 165 $url = ''; 166 167 return apply_filters('get_comment_author_url', $url); 163 168 } 164 169 165 170 /**