Docs: Correct DocBlock formatting for filters accepting the `$parsed_args` parameter.

Follow-up to [45667].

See #48303.
Built from https://develop.svn.wordpress.org/trunk@47096


git-svn-id: http://core.svn.wordpress.org/trunk@46896 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2020-01-21 15:41:04 +00:00
parent 185e36d428
commit dd79e6e107
7 changed files with 14 additions and 14 deletions

View File

@ -167,8 +167,8 @@ function get_bookmarks( $args = '' ) {
* *
* @see get_bookmarks() * @see get_bookmarks()
* *
* @param array $bookmarks List of the cached bookmarks. * @param array $bookmarks List of the cached bookmarks.
* @param array $parsed_args An array of bookmark query arguments. * @param array $parsed_args An array of bookmark query arguments.
*/ */
return apply_filters( 'get_bookmarks', $bookmarks, $parsed_args ); return apply_filters( 'get_bookmarks', $bookmarks, $parsed_args );
} }

View File

@ -452,8 +452,8 @@ function wp_dropdown_categories( $args = '' ) {
* *
* @since 2.1.0 * @since 2.1.0
* *
* @param string $output HTML output. * @param string $output HTML output.
* @param array $parsed_args Arguments used to build the drop-down. * @param array $parsed_args Arguments used to build the drop-down.
*/ */
$output = apply_filters( 'wp_dropdown_cats', $output, $parsed_args ); $output = apply_filters( 'wp_dropdown_cats', $output, $parsed_args );

View File

@ -226,8 +226,8 @@ class WP_Http {
* *
* @since 2.7.0 * @since 2.7.0
* *
* @param array $parsed_args An array of HTTP request arguments. * @param array $parsed_args An array of HTTP request arguments.
* @param string $url The request URL. * @param string $url The request URL.
*/ */
$parsed_args = apply_filters( 'http_request_args', $parsed_args, $url ); $parsed_args = apply_filters( 'http_request_args', $parsed_args, $url );

View File

@ -223,9 +223,9 @@ class WP_Http_Curl {
* *
* @since 2.8.0 * @since 2.8.0
* *
* @param resource $handle The cURL handle returned by curl_init() (passed by reference). * @param resource $handle The cURL handle returned by curl_init() (passed by reference).
* @param array $parsed_args The HTTP request arguments. * @param array $parsed_args The HTTP request arguments.
* @param string $url The request URL. * @param string $url The request URL.
*/ */
do_action_ref_array( 'http_api_curl', array( &$handle, $parsed_args, $url ) ); do_action_ref_array( 'http_api_curl', array( &$handle, $parsed_args, $url ) );

View File

@ -1859,8 +1859,8 @@ function wp_get_archives( $args = '' ) {
* *
* @since 2.2.0 * @since 2.2.0
* *
* @param string $sql_where Portion of SQL query containing the WHERE clause. * @param string $sql_where Portion of SQL query containing the WHERE clause.
* @param array $parsed_args An array of default arguments. * @param array $parsed_args An array of default arguments.
*/ */
$where = apply_filters( 'getarchives_where', $sql_where, $parsed_args ); $where = apply_filters( 'getarchives_where', $sql_where, $parsed_args );

View File

@ -1146,8 +1146,8 @@ function wp_dropdown_users( $args = '' ) {
* *
* @since 4.4.0 * @since 4.4.0
* *
* @param array $query_args The query arguments for get_users(). * @param array $query_args The query arguments for get_users().
* @param array $parsed_args The arguments passed to wp_dropdown_users() combined with the defaults. * @param array $parsed_args The arguments passed to wp_dropdown_users() combined with the defaults.
*/ */
$query_args = apply_filters( 'wp_dropdown_users_args', $query_args, $parsed_args ); $query_args = apply_filters( 'wp_dropdown_users_args', $query_args, $parsed_args );

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.4-alpha-47095'; $wp_version = '5.4-alpha-47096';
/** /**
* 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.