mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 11:35:48 +00:00
Don't strip scheme from comment url. Bug 883.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
55b747eb07
commit
281573e628
@ -23,7 +23,7 @@ get_currentuserinfo();
|
|||||||
if ( $user_ID ) :
|
if ( $user_ID ) :
|
||||||
$comment_author = addslashes($user_identity);
|
$comment_author = addslashes($user_identity);
|
||||||
$comment_author_email = addslashes($user_email);
|
$comment_author_email = addslashes($user_email);
|
||||||
$comment_author_url = addslashes(str_replace('http://', '', $user_url));
|
$comment_author_url = addslashes($user_url);
|
||||||
else :
|
else :
|
||||||
if ( get_option('comment_registration') )
|
if ( get_option('comment_registration') )
|
||||||
die( __('Sorry, you must be logged in to post a comment.') );
|
die( __('Sorry, you must be logged in to post a comment.') );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user