Return the modified query from remove_query_arg(). Props MC_incubus fixes #1362
git-svn-id: https://develop.svn.wordpress.org/trunk@2657 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c8b7b7e47b
commit
62366e5403
@ -1808,7 +1808,7 @@ function add_query_arg() {
|
||||
}
|
||||
|
||||
function remove_query_arg($key, $query) {
|
||||
add_query_arg($key, '', $query);
|
||||
return add_query_arg($key, '', $query);
|
||||
}
|
||||
|
||||
function load_template($file) {
|
||||
|
Loading…
Reference in New Issue
Block a user