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
This commit is contained in:
John Blackbourn 2018-05-14 15:23:21 +00:00
parent 3ee58b55b1
commit 810cbb537b
2 changed files with 3 additions and 2 deletions

View File

@ -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.

View File

@ -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.