From 810cbb537b93713072328dde4658c19f6e144c6e Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Mon, 14 May 2018 15:23:21 +0000 Subject: [PATCH] Docs: Add missing HTTP methods to the list of those supported. See #42505 Built from https://develop.svn.wordpress.org/trunk@43258 git-svn-id: http://core.svn.wordpress.org/trunk@43087 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-http.php | 3 ++- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/wp-includes/class-http.php b/wp-includes/class-http.php index edfcd11cbe..4d15b737cf 100644 --- a/wp-includes/class-http.php +++ b/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. diff --git a/wp-includes/version.php b/wp-includes/version.php index a64d91ca7a..169830ed6d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '5.0-alpha-43256'; +$wp_version = '5.0-alpha-43258'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.