diff --git a/src/wp-includes/class-http.php b/src/wp-includes/class-http.php index edfcd11cbe..4d15b737cf 100644 --- a/src/wp-includes/class-http.php +++ b/src/wp-includes/class-http.php @@ -105,7 +105,8 @@ class WP_Http { * @param string|array $args { * Optional. Array or string of HTTP request arguments. * - * @type string $method Request method. Accepts 'GET', 'POST', 'HEAD', or 'PUT'. + * @type string $method Request method. Accepts 'GET', 'POST', 'HEAD', 'PUT', 'DELETE', + * 'TRACE', 'OPTIONS', or 'PATCH'. * Some transports technically allow others, but should not be * assumed. Default 'GET'. * @type int $timeout How long the connection should stay open in seconds. Default 5.