Skip to content

Commit

Permalink
Don't forget the protocol. Props tereshchenko. #2853
Browse files Browse the repository at this point in the history
git-svn-id: https://develop.svn.wordpress.org/branches/2.0@3905 602fd350-edb4-49c9-b593-d223f7449a82
  • Loading branch information
ryanboren committed Jun 23, 2006
1 parent 28ac43e commit 10ffe4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wp-includes/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -2122,7 +2122,7 @@ function add_query_arg() {
$ret .= "$k=$v";
}
}
$ret = $base . $ret;
$ret = $protocol . $base . $ret;
return trim($ret, '?');
}

Expand Down

0 comments on commit 10ffe4e

Please sign in to comment.