[wp-trac] [WordPress Trac] #38546: REST API: Add PATCH to CORS allowed methods

WordPress Trac noreply at wordpress.org
Mon Oct 31 00:18:16 UTC 2016


#38546: REST API: Add PATCH to CORS allowed methods
--------------------------+------------------------------
 Reporter:  jnylen0       |       Owner:  pento
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  REST API      |     Version:  trunk
 Severity:  normal        |  Resolution:  fixed
 Keywords:  has-patch     |     Focuses:
--------------------------+------------------------------
Changes (by pento):

 * owner:   => pento
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"39042"]:
 {{{
 #!CommitTicketReference repository="" revision="39042"
 REST API: Add `PATCH` to CORS allowed methods.

 Editable resources in the REST API accept the `PATCH` method, but the CORS
 headers don't mention it.

 Props jnylen0.
 Fixes #38546.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38546#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list