Comment author link should not strip tildes or plus signs.

git-svn-id: http://svn.automattic.com/wordpress/trunk@840 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2004-02-06 18:04:35 +00:00
parent eae78fc29c
commit 221123fa57
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ function comment_author_link() {
}
$url = str_replace('http://url', '', $url);
$url = preg_replace('|[^a-z0-9-_.?#=&;,/:]|i', '', $url);
$url = preg_replace('|[^a-z0-9-~+_.?#=&;,/:]|i', '', $url);
if (empty($url) && empty($email)) {
echo $author;
return;