Wordpress/tests
K. Adam White 58aad3837f REST API: Ensure "Allow" header is returned for OPTIONS requests.
This changeset ensures `$request->set_url_params()` is called while fulfilling OPTIONS requests, where previously it was skipped because OPTIONS requests short-circuit the logic in `dispatch` which handles this setup for other request methods. Omitting the URL parameters prevented the Allow header from being set.

Props killua99, noisysocks.
Fixes #45753.


git-svn-id: https://develop.svn.wordpress.org/trunk@44933 602fd350-edb4-49c9-b593-d223f7449a82
2019-03-19 03:21:28 +00:00
..
phpunit REST API: Ensure "Allow" header is returned for OPTIONS requests. 2019-03-19 03:21:28 +00:00
qunit Accessibility: improve the "URL" and "Alt text" fields in the media modals. 2019-03-15 10:42:35 +00:00