Comment author link should not strip tildes or plus signs.
git-svn-id: https://develop.svn.wordpress.org/trunk@840 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
cf385a5ae1
commit
0ad0386f27
|
@ -106,7 +106,7 @@ function comment_author_link() {
|
||||||
}
|
}
|
||||||
|
|
||||||
$url = str_replace('http://url', '', $url);
|
$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)) {
|
if (empty($url) && empty($email)) {
|
||||||
echo $author;
|
echo $author;
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue