From 62366e5403a59c1685fc069b899ad17727c1228a Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 20 Jun 2005 02:03:35 +0000 Subject: [PATCH] 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 --- wp-includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index de020de974..6f949f6319 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -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) {