Make WordPress Core

Changeset 47096


Ignore:
Timestamp:
01/21/2020 03:39:17 PM (7 years ago)
Author:
SergeyBiryukov
Message:

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

Follow-up to [45667].

See #48303.

Location:
trunk/src/wp-includes
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/bookmark.php

    r46661 r47096  
    168168                         * @see get_bookmarks()
    169169                         *
    170                          * @param array $bookmarks List of the cached bookmarks.
    171                          * @param array $parsed_args         An array of bookmark query arguments.
     170                         * @param array $bookmarks   List of the cached bookmarks.
     171                         * @param array $parsed_args An array of bookmark query arguments.
    172172                         */
    173173                        return apply_filters( 'get_bookmarks', $bookmarks, $parsed_args );
  • trunk/src/wp-includes/category-template.php

    r47060 r47096  
    453453         * @since 2.1.0
    454454         *
    455          * @param string $output HTML output.
    456          * @param array  $parsed_args      Arguments used to build the drop-down.
     455         * @param string $output      HTML output.
     456         * @param array  $parsed_args Arguments used to build the drop-down.
    457457         */
    458458        $output = apply_filters( 'wp_dropdown_cats', $output, $parsed_args );
  • trunk/src/wp-includes/class-http.php

    r47060 r47096  
    227227                 * @since 2.7.0
    228228                 *
    229                  * @param array  $parsed_args   An array of HTTP request arguments.
    230                  * @param string $url The request URL.
     229                 * @param array  $parsed_args An array of HTTP request arguments.
     230                 * @param string $url         The request URL.
    231231                 */
    232232                $parsed_args = apply_filters( 'http_request_args', $parsed_args, $url );
  • trunk/src/wp-includes/class-wp-http-curl.php

    r46218 r47096  
    224224                 * @since 2.8.0
    225225                 *
    226                  * @param resource $handle  The cURL handle returned by curl_init() (passed by reference).
    227                  * @param array    $parsed_args       The HTTP request arguments.
    228                  * @param string   $url     The request URL.
     226                 * @param resource $handle      The cURL handle returned by curl_init() (passed by reference).
     227                 * @param array    $parsed_args The HTTP request arguments.
     228                 * @param string   $url         The request URL.
    229229                 */
    230230                do_action_ref_array( 'http_api_curl', array( &$handle, $parsed_args, $url ) );
  • trunk/src/wp-includes/general-template.php

    r47060 r47096  
    18601860         * @since 2.2.0
    18611861         *
    1862          * @param string $sql_where Portion of SQL query containing the WHERE clause.
    1863          * @param array  $parsed_args         An array of default arguments.
     1862         * @param string $sql_where   Portion of SQL query containing the WHERE clause.
     1863         * @param array  $parsed_args An array of default arguments.
    18641864         */
    18651865        $where = apply_filters( 'getarchives_where', $sql_where, $parsed_args );
  • trunk/src/wp-includes/user.php

    r47060 r47096  
    11471147         * @since 4.4.0
    11481148         *
    1149          * @param array $query_args The query arguments for get_users().
    1150          * @param array $parsed_args          The arguments passed to wp_dropdown_users() combined with the defaults.
     1149         * @param array $query_args  The query arguments for get_users().
     1150         * @param array $parsed_args The arguments passed to wp_dropdown_users() combined with the defaults.
    11511151         */
    11521152        $query_args = apply_filters( 'wp_dropdown_users_args', $query_args, $parsed_args );
Note: See TracChangeset for help on using the changeset viewer.