Actually, let's just drop that slash check altogether. Equals sign is the best indicator. fixes #4903 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@6031 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
23bcbfcb05
commit
a2afc64e79
|
@ -627,7 +627,7 @@ function add_query_arg() {
|
||||||
$base = $parts[0] . '?';
|
$base = $parts[0] . '?';
|
||||||
$query = $parts[1];
|
$query = $parts[1];
|
||||||
}
|
}
|
||||||
} elseif (!empty($protocol) || ( strpos($uri, '/') !== false && strpos($uri, '=') === false ) ) {
|
} elseif (!empty($protocol) || strpos($uri, '=') === false ) {
|
||||||
$base = $uri . '?';
|
$base = $uri . '?';
|
||||||
$query = '';
|
$query = '';
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue