From dd79e6e107de635d7a4f34571746849e962bc4cc Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 21 Jan 2020 15:41:04 +0000 Subject: [PATCH] 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 --- wp-includes/bookmark.php | 4 ++-- wp-includes/category-template.php | 4 ++-- wp-includes/class-http.php | 4 ++-- wp-includes/class-wp-http-curl.php | 6 +++--- wp-includes/general-template.php | 4 ++-- wp-includes/user.php | 4 ++-- wp-includes/version.php | 2 +- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/wp-includes/bookmark.php b/wp-includes/bookmark.php index f14d80a738..f131427bab 100644 --- a/wp-includes/bookmark.php +++ b/wp-includes/bookmark.php @@ -167,8 +167,8 @@ function get_bookmarks( $args = '' ) { * * @see get_bookmarks() * - * @param array $bookmarks List of the cached bookmarks. - * @param array $parsed_args An array of bookmark query arguments. + * @param array $bookmarks List of the cached bookmarks. + * @param array $parsed_args An array of bookmark query arguments. */ return apply_filters( 'get_bookmarks', $bookmarks, $parsed_args ); } diff --git a/wp-includes/category-template.php b/wp-includes/category-template.php index 6217a55ce4..ea931d0e7a 100644 --- a/wp-includes/category-template.php +++ b/wp-includes/category-template.php @@ -452,8 +452,8 @@ function wp_dropdown_categories( $args = '' ) { * * @since 2.1.0 * - * @param string $output HTML output. - * @param array $parsed_args Arguments used to build the drop-down. + * @param string $output HTML output. + * @param array $parsed_args Arguments used to build the drop-down. */ $output = apply_filters( 'wp_dropdown_cats', $output, $parsed_args ); diff --git a/wp-includes/class-http.php b/wp-includes/class-http.php index dc3148222a..9e18811c28 100644 --- a/wp-includes/class-http.php +++ b/wp-includes/class-http.php @@ -226,8 +226,8 @@ class WP_Http { * * @since 2.7.0 * - * @param array $parsed_args An array of HTTP request arguments. - * @param string $url The request URL. + * @param array $parsed_args An array of HTTP request arguments. + * @param string $url The request URL. */ $parsed_args = apply_filters( 'http_request_args', $parsed_args, $url ); diff --git a/wp-includes/class-wp-http-curl.php b/wp-includes/class-wp-http-curl.php index a49db80fbb..878f02c996 100644 --- a/wp-includes/class-wp-http-curl.php +++ b/wp-includes/class-wp-http-curl.php @@ -223,9 +223,9 @@ class WP_Http_Curl { * * @since 2.8.0 * - * @param resource $handle The cURL handle returned by curl_init() (passed by reference). - * @param array $parsed_args The HTTP request arguments. - * @param string $url The request URL. + * @param resource $handle The cURL handle returned by curl_init() (passed by reference). + * @param array $parsed_args The HTTP request arguments. + * @param string $url The request URL. */ do_action_ref_array( 'http_api_curl', array( &$handle, $parsed_args, $url ) ); diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index 49df1077ed..d992a0257b 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -1859,8 +1859,8 @@ function wp_get_archives( $args = '' ) { * * @since 2.2.0 * - * @param string $sql_where Portion of SQL query containing the WHERE clause. - * @param array $parsed_args An array of default arguments. + * @param string $sql_where Portion of SQL query containing the WHERE clause. + * @param array $parsed_args An array of default arguments. */ $where = apply_filters( 'getarchives_where', $sql_where, $parsed_args ); diff --git a/wp-includes/user.php b/wp-includes/user.php index 964ec9b8d1..7d6a4a1656 100644 --- a/wp-includes/user.php +++ b/wp-includes/user.php @@ -1146,8 +1146,8 @@ function wp_dropdown_users( $args = '' ) { * * @since 4.4.0 * - * @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 $query_args The query arguments for get_users(). + * @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 ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 413296ef39..d94ea2cd5f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @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.