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) {