[wp-trac] [WordPress Trac] #45753: REST API: Allow header not set when OPTIONS request is made to a route that contains URL params

WordPress Trac noreply at wordpress.org
Sat Mar 16 23:17:44 UTC 2019


#45753: REST API: Allow header not set when OPTIONS request is made to a route that
contains URL params
--------------------------+-----------------------
 Reporter:  noisysocks    |       Owner:  killua99
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  5.2
Component:  REST API      |     Version:  5.0.2
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+-----------------------
Changes (by killua99):

 * Attachment "45753.2.diff" added.

 WIP: Patch with simple Unit Test. It doesn't test against a login user
 with capabilities edit_posts.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/45753>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list