mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Filter out blank urls for commentors. Fixes #5789.
git-svn-id: http://svn.automattic.com/wordpress/trunk@11249 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
dc2fb99ce8
commit
a977c155bf
@ -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