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
This commit is contained in:
Drew Jaynes 2015-09-24 19:33:07 +00:00
parent c406171d12
commit 2703af7691

View File

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