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

WordPress Trac noreply at wordpress.org
Fri Oct 28 19:41:46 UTC 2016


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

Comment (by jnylen0):

 Did a search through the GH issues, and apparently people use the word
 "patch" a lot when developing OSS ;)

 Found this, though... https://github.com/WP-API/WP-
 API/pull/768#issuecomment-73878867

 > Actually, our use of PATCH is kind of an abuse of the verb [...] We
 support it with the same semantics as PUT

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


More information about the wp-trac mailing list