Docs: Various docblock improvements.
See #51800 Built from https://develop.svn.wordpress.org/trunk@49790 git-svn-id: http://core.svn.wordpress.org/trunk@49513 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1178,7 +1178,7 @@ function remove_query_arg( $key, $query = false ) {
|
||||
*
|
||||
* @since 4.4.0
|
||||
*
|
||||
* @return string[] An array of parameters to remove from the URL.
|
||||
* @return string[] An array of query variable names to remove from the URL.
|
||||
*/
|
||||
function wp_removable_query_args() {
|
||||
$removable_query_args = array(
|
||||
@@ -1213,11 +1213,11 @@ function wp_removable_query_args() {
|
||||
);
|
||||
|
||||
/**
|
||||
* Filters the list of query variables to remove.
|
||||
* Filters the list of query variable names to remove.
|
||||
*
|
||||
* @since 4.2.0
|
||||
*
|
||||
* @param string[] $removable_query_args An array of query variables to remove from a URL.
|
||||
* @param string[] $removable_query_args An array of query variable names to remove from a URL.
|
||||
*/
|
||||
return apply_filters( 'removable_query_args', $removable_query_args );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user