Return esc_url_raw(), not esc_url(), from get_blogaddress_by_domain(). props tlovett1, fixes #25057. #wcpvd
git-svn-id: https://develop.svn.wordpress.org/trunk@25033 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5125650b72
commit
a2008aa773
@ -78,7 +78,7 @@ function get_blogaddress_by_domain( $domain, $path ) {
|
||||
$url = 'http://' . $domain . $path;
|
||||
}
|
||||
}
|
||||
return esc_url( $url );
|
||||
return esc_url_raw( $url );
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user