WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/26/2019 09:07:10 PM (13 months ago)
Author:
johnbillion
Message:

Docs: Switch more docs over to typed array notation, plus some fixes.

See #48303, #41756

File:
1 edited

Legend:

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

    r46468 r46596  
    522522         * @since 3.7.0
    523523         *
    524          * @param array $transports Array of HTTP transports to check. Default array contains
    525          *                           'curl', and 'streams', in that order.
    526          * @param array  $args       HTTP request arguments.
    527          * @param string $url        The URL to request.
     524         * @param string[] $transports Array of HTTP transports to check. Default array contains
     525         *                             'curl' and 'streams', in that order.
     526         * @param array    $args       HTTP request arguments.
     527         * @param string   $url        The URL to request.
    528528         */
    529529        $request_order = apply_filters( 'http_api_transports', $transports, $args, $url );
Note: See TracChangeset for help on using the changeset viewer.