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

WordPress Trac noreply at wordpress.org
Mon Feb 17 10:39:25 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:  good-first-bug has-patch has-unit-tests  |     Focuses:
-----------------------------------------------------+---------------------

Comment (by birgire):

 Replying to [comment:8 johnwatkins0]:

 Thanks for the unit test in [attachment:"49147.3.diff"].

 I was just wondering about the {{{GET}}} method test there:

 Shouldn't the {{{OPTIONS}}} method be targetted specifically here,
 according to the ticket's title?

 ps: the {{{@ticket 49147}}} annotation is missing in
 [attachment:"49147.3.diff"] and {{{array()}}}  should be used instead of
 the array alias {{{[]}}} according to the code standard.

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


More information about the wp-trac mailing list