Filter out blank urls for commentors. Fixes #5789.
git-svn-id: https://develop.svn.wordpress.org/trunk@11249 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
79a1dd8466
commit
a99e78ba1e
@ -193,7 +193,8 @@ function comment_author_IP() {
|
||||
*/
|
||||
function get_comment_author_url() {
|
||||
global $comment;
|
||||
return apply_filters('get_comment_author_url', $comment->comment_author_url);
|
||||
$url = ('http://' == $comment->comment_author_url) ? '' : $comment->comment_author_url;
|
||||
return apply_filters('get_comment_author_url', $url);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user