Turn & to & in add_query_arg(). fixes #4878
git-svn-id: https://develop.svn.wordpress.org/trunk@6005 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9fb2ddc65f
commit
3308252f00
@ -606,6 +606,8 @@ function add_query_arg() {
|
||||
$uri = @func_get_arg(2);
|
||||
}
|
||||
|
||||
$uri = str_replace('&', '&', $uri);
|
||||
|
||||
if ( $frag = strstr($uri, '#') )
|
||||
$uri = substr($uri, 0, -strlen($frag));
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user