trim() question marks *after* concatenating the string. fixes #4134
git-svn-id: https://develop.svn.wordpress.org/trunk@5267 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
447554f758
commit
6d905c3341
@ -355,3 +355,5 @@ function wp_upload_admin_head() {
|
|||||||
echo "</style>";
|
echo "</style>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
?>
|
@ -826,8 +826,8 @@ 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, '?');
|
||||||
return $ret;
|
return $ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user