mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-08 16:41:44 +01:00
Return the modified query from remove_query_arg(). Props MC_incubus fixes #1362
git-svn-id: http://svn.automattic.com/wordpress/trunk@2657 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b1a8620710
commit
ee2a1df296
@ -1808,7 +1808,7 @@ function add_query_arg() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function remove_query_arg($key, $query) {
|
function remove_query_arg($key, $query) {
|
||||||
add_query_arg($key, '', $query);
|
return add_query_arg($key, '', $query);
|
||||||
}
|
}
|
||||||
|
|
||||||
function load_template($file) {
|
function load_template($file) {
|
||||||
|
Loading…
Reference in New Issue
Block a user