From 3595621835ec24ed99718f047a17c8c09df0edbf Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Wed, 7 Jan 2004 01:16:24 +0000 Subject: [PATCH] URL fix. git-svn-id: https://develop.svn.wordpress.org/trunk@730 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/template-functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/template-functions.php b/wp-includes/template-functions.php index c314d156d0..73655faa4d 100644 --- a/wp-includes/template-functions.php +++ b/wp-includes/template-functions.php @@ -1659,7 +1659,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;