Make WordPress Core


Ignore:
Timestamp:
10/26/2019 09:07:10 PM (5 years 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-wp-http-encoding.php

    r45590 r46596  
    175175         * @since 3.6.0
    176176         *
    177          * @param array  $type Encoding types allowed. Accepts 'gzinflate',
    178          *                     'gzuncompress', 'gzdecode'.
    179          * @param string $url  URL of the HTTP request.
    180          * @param array  $args HTTP request arguments.
     177         * @param string[] $type Array of what encoding types to accept and their priority values.
     178         * @param string   $url  URL of the HTTP request.
     179         * @param array    $args HTTP request arguments.
    181180         */
    182181        $type = apply_filters( 'wp_http_accept_encoding', $type, $url, $args );
Note: See TracChangeset for help on using the changeset viewer.