[wp-trac] [WordPress Trac] #49147: Incorrect formatting of _links on OPTIONS request to embedded collections

WordPress Trac noreply at wordpress.org
Tue Jan 7 19:31:31 UTC 2020


#49147: Incorrect formatting of _links on OPTIONS request to embedded collections
------------------------------------------+---------------------
 Reporter:  nsundberg                     |       Owner:  (none)
     Type:  defect (bug)                  |      Status:  new
 Priority:  normal                        |   Milestone:  5.4
Component:  REST API                      |     Version:  4.4
 Severity:  normal                        |  Resolution:
 Keywords:  needs-refresh good-first-bug  |     Focuses:
------------------------------------------+---------------------
Changes (by TimothyBlynJacobs):

 * keywords:   => needs-refresh good-first-bug
 * version:  4.5 => 4.4
 * milestone:  Awaiting Review => 5.4


Comment:

 Thanks for the ticket @nsundberg!

 I think it'd be best to fix the link to be an associate array as you
 suggested. I think it'd be a good separate enhancement to add those `self`
 links to the OPTIONS response.

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


More information about the wp-trac mailing list