From 2443090c23acce4dd5e939975b66aabf05ffd1f4 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Mon, 3 Nov 2014 05:28:47 +0000 Subject: [PATCH] Correct the `@param` type for the `$query` arg for `remove_query_arg()`. See #30224. git-svn-id: https://develop.svn.wordpress.org/trunk@30191 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php index 19fdbbfd68..dce925a677 100644 --- a/src/wp-includes/functions.php +++ b/src/wp-includes/functions.php @@ -803,7 +803,7 @@ function add_query_arg() { * @since 1.5.0 * * @param string|array $key Query key or keys to remove. - * @param bool $query Optional. When false uses the $_SERVER value. Default false. + * @param bool|string $query Optional. When false uses the $_SERVER value. Default false. * @return string New URL query string. */ function remove_query_arg( $key, $query = false ) {