mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-28 15:17:42 +02:00
Add in another trim(), just in case $frag is actually something.
git-svn-id: http://svn.automattic.com/wordpress/trunk@5269 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8d26c9e4b1
commit
d7a828c373
@ -826,6 +826,7 @@ function add_query_arg() {
|
||||
$ret .= "$k=$v";
|
||||
}
|
||||
}
|
||||
$ret = trim($ret, '?');
|
||||
$ret = $protocol . $base . $ret . $frag;
|
||||
$ret = trim($ret, '?');
|
||||
return $ret;
|
||||
|
Loading…
Reference in New Issue
Block a user