only strip question marks from the RIGHT side of the query string. fixes #4464 for trunk

git-svn-id: https://develop.svn.wordpress.org/trunk@5704 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith 2007-06-14 04:44:06 +00:00
parent eb1518f95e
commit e542bbdde1
1 changed files with 1 additions and 1 deletions

View File

@ -627,7 +627,7 @@ function add_query_arg() {
}
$ret = trim($ret, '?');
$ret = $protocol . $base . $ret . $frag;
$ret = trim($ret, '?');
$ret = rtrim($ret, '?');
return $ret;
}