Docs: Switch more docs over to typed array notation, plus some fixes.
See #48303, #41756 Built from https://develop.svn.wordpress.org/trunk@46596 git-svn-id: http://core.svn.wordpress.org/trunk@46393 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -174,10 +174,9 @@ class WP_Http_Encoding {
|
||||
*
|
||||
* @since 3.6.0
|
||||
*
|
||||
* @param array $type Encoding types allowed. Accepts 'gzinflate',
|
||||
* 'gzuncompress', 'gzdecode'.
|
||||
* @param string $url URL of the HTTP request.
|
||||
* @param array $args HTTP request arguments.
|
||||
* @param string[] $type Array of what encoding types to accept and their priority values.
|
||||
* @param string $url URL of the HTTP request.
|
||||
* @param array $args HTTP request arguments.
|
||||
*/
|
||||
$type = apply_filters( 'wp_http_accept_encoding', $type, $url, $args );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user