From cdc96a2cc5131c4197edacd57c6f3265332c25e1 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Wed, 16 Feb 2005 23:01:02 +0000 Subject: [PATCH] Don't strip scheme from comment url. Bug 883. git-svn-id: https://develop.svn.wordpress.org/trunk@2359 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-comments-post.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-comments-post.php b/wp-comments-post.php index bd1a7d0f20..5c5faa5683 100644 --- a/wp-comments-post.php +++ b/wp-comments-post.php @@ -23,7 +23,7 @@ get_currentuserinfo(); if ( $user_ID ) : $comment_author = addslashes($user_identity); $comment_author_email = addslashes($user_email); - $comment_author_url = addslashes(str_replace('http://', '', $user_url)); + $comment_author_url = addslashes($user_url); else : if ( get_option('comment_registration') ) die( __('Sorry, you must be logged in to post a comment.') );