Skip to content

Commit 10ffe4e

Browse files
committed
Don't forget the protocol. Props tereshchenko. WordPress#2853
git-svn-id: https://develop.svn.wordpress.org/branches/2.0@3905 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 28ac43e commit 10ffe4e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wp-includes/functions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2122,7 +2122,7 @@ function add_query_arg() {
21222122
$ret .= "$k=$v";
21232123
}
21242124
}
2125-
$ret = $base . $ret;
2125+
$ret = $protocol . $base . $ret;
21262126
return trim($ret, '?');
21272127
}
21282128

0 commit comments

Comments
 (0)