mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
URL fix.
git-svn-id: http://svn.automattic.com/wordpress/trunk@730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a73c8e5363
commit
b51cf5412b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user