Make WordPress Core

Changeset 43258


Ignore:
Timestamp:
05/14/2018 03:22:45 PM (7 years ago)
Author:
johnbillion
Message:

Docs: Add missing HTTP methods to the list of those supported.

See #42505

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-http.php

    r42877 r43258  
    106106     *     Optional. Array or string of HTTP request arguments.
    107107     *
    108      *     @type string       $method              Request method. Accepts 'GET', 'POST', 'HEAD', or 'PUT'.
     108     *     @type string       $method              Request method. Accepts 'GET', 'POST', 'HEAD', 'PUT', 'DELETE',
     109     *                                             'TRACE', 'OPTIONS', or 'PATCH'.
    109110     *                                             Some transports technically allow others, but should not be
    110111     *                                             assumed. Default 'GET'.
Note: See TracChangeset for help on using the changeset viewer.