[wp-cvs] wordpress wp-comments-post.php,1.29,1.30

Ryan Boren rboren at users.sourceforge.net
Wed Feb 16 23:01:05 GMT 2005


Update of /cvsroot/cafelog/wordpress
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12134

Modified Files:
	wp-comments-post.php 
Log Message:
Don't strip scheme from comment url.  Bug 883.

Index: wp-comments-post.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-comments-post.php,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** wp-comments-post.php	6 Feb 2005 19:02:10 -0000	1.29
--- wp-comments-post.php	16 Feb 2005 23:01:02 -0000	1.30
***************
*** 24,28 ****
  	$comment_author       = addslashes($user_identity);
  	$comment_author_email = addslashes($user_email);
! 	$comment_author_url   = addslashes(str_replace('http://', '', $user_url));
  else :
  	if ( get_option('comment_registration') )
--- 24,28 ----
  	$comment_author       = addslashes($user_identity);
  	$comment_author_email = addslashes($user_email);
! 	$comment_author_url   = addslashes($user_url);
  else :
  	if ( get_option('comment_registration') )



More information about the cvs mailing list