From 2703af7691be1edc9ab459dc5ee86605ed8a3aa6 Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Thu, 24 Sep 2015 19:33:07 +0000 Subject: [PATCH] Docs: Clarify the summary and optional `$query` parameter description for `remove_query_arg()`. Props johnbillion. Fixes #33912. git-svn-id: https://develop.svn.wordpress.org/trunk@34512 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php index f07cb23269..6165ca9ff9 100644 --- a/src/wp-includes/functions.php +++ b/src/wp-includes/functions.php @@ -768,12 +768,12 @@ function add_query_arg() { } /** - * Removes an item or list from the query string. + * Removes an item or items from a query string. * * @since 1.5.0 * * @param string|array $key Query key or keys to remove. - * @param bool|string $query Optional. When false uses the $_SERVER value. Default false. + * @param bool|string $query Optional. When false uses the current URL. Default false. * @return string New URL query string. */ function remove_query_arg( $key, $query = false ) {