diff --git a/wp-includes/functions.php b/wp-includes/functions.php index d3988c5e73..b900ca3667 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -1669,7 +1669,7 @@ function add_query_arg() { $query = $parts[1]; } } - else if (! ststr($uri, '/')) { + else if (strstr($uri, '/')) { $base = $uri . '?'; $query = ''; }