mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 17:48:01 +01:00
only strip question marks from the RIGHT side of the query string. fixes #4464 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@5704 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
9fac8dcbae
commit
99f0971b73
@ -627,7 +627,7 @@ function add_query_arg() {
|
||||
}
|
||||
$ret = trim($ret, '?');
|
||||
$ret = $protocol . $base . $ret . $frag;
|
||||
$ret = trim($ret, '?');
|
||||
$ret = rtrim($ret, '?');
|
||||
return $ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user