From ee2a1df296763b91ea3560ec1aa17fc1ba7733ab Mon Sep 17 00:00:00 2001 From: ryan 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: http://svn.automattic.com/wordpress/trunk@2657 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 de020de97..6f949f631 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) {