mirror of
git://develop.git.wordpress.org/
synced 2025-02-24 16:43:06 +01:00
URL fix.
git-svn-id: https://develop.svn.wordpress.org/trunk@730 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
3cfc0c2fac
commit
3595621835
@ -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…
x
Reference in New Issue
Block a user