trim() question marks *after* concatenating the string. fixes #4134
git-svn-id: http://svn.automattic.com/wordpress/trunk@5267 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
62f5c944dc
commit
999e232f12
|
@ -355,3 +355,5 @@ function wp_upload_admin_head() {
|
||||||
echo "</style>";
|
echo "</style>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
?>
|
|
@ -826,8 +826,8 @@ function add_query_arg() {
|
||||||
$ret .= "$k=$v";
|
$ret .= "$k=$v";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$ret = trim($ret, '?');
|
|
||||||
$ret = $protocol . $base . $ret . $frag;
|
$ret = $protocol . $base . $ret . $frag;
|
||||||
|
$ret = trim($ret, '?');
|
||||||
return $ret;
|
return $ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue