Add in another trim(), just in case $frag is actually something.
git-svn-id: https://develop.svn.wordpress.org/trunk@5269 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5184af4ae8
commit
8c25d341d9
@ -826,6 +826,7 @@ function add_query_arg() {
|
|||||||
$ret .= "$k=$v";
|
$ret .= "$k=$v";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$ret = trim($ret, '?');
|
||||||
$ret = $protocol . $base . $ret . $frag;
|
$ret = $protocol . $base . $ret . $frag;
|
||||||
$ret = trim($ret, '?');
|
$ret = trim($ret, '?');
|
||||||
return $ret;
|
return $ret;
|
||||||
|
Loading…
Reference in New Issue
Block a user