Docs: Clarify the summary and optional `$query` parameter description for `remove_query_arg()`.
Props johnbillion. Fixes #33912. Built from https://develop.svn.wordpress.org/trunk@34512 git-svn-id: http://core.svn.wordpress.org/trunk@34476 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
92574015aa
commit
f84c653fad
|
@ -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
|
* @since 1.5.0
|
||||||
*
|
*
|
||||||
* @param string|array $key Query key or keys to remove.
|
* @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.
|
* @return string New URL query string.
|
||||||
*/
|
*/
|
||||||
function remove_query_arg( $key, $query = false ) {
|
function remove_query_arg( $key, $query = false ) {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.4-alpha-34511';
|
$wp_version = '4.4-alpha-34512';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue