Correctly add args to strings that contain only a query string and not a full URI.

git-svn-id: https://develop.svn.wordpress.org/trunk@2227 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2005-02-06 03:40:08 +00:00
parent bd9b765b38
commit e90040e79b
9 changed files with 32 additions and 32 deletions

View File

@@ -1669,7 +1669,7 @@ function add_query_arg() {
$query = $parts[1];
}
}
else {
else if (! ststr($uri, '/')) {
$base = $uri . '?';
$query = '';
}