Wordpress/tests/qunit/fixtures
Gary Pendergast 029ce05801 REST API: Always add index.php to the REST URL when pretty permalinks are disabled.
When pretty permalinks are disabled, the web server will internally forward requests to `index.php`. Unfortunately, nginx only forwards HTTP/1.0 methods: `PUT`, `PATCH`, and `DELETE` methods will return a 405 error.

To work around this nginx behaviour, including `index.php` in the REST URL skips the internal redirect.

Fixes #40886.



git-svn-id: https://develop.svn.wordpress.org/trunk@41139 602fd350-edb4-49c9-b593-d223f7449a82
2017-07-25 00:49:22 +00:00
..
customize-header.js Add PHP and JS unit tests for custom headers. 2014-03-29 10:05:22 +00:00
customize-menus.js Administration: Improve the usage of the button CSS classes. 2016-09-28 19:53:07 +00:00
customize-settings.js Customize: Implement customized state persistence with changesets. 2016-10-18 20:04:36 +00:00
customize-widgets.js Customize: Improve i18n for strings in hidden widget area notices. 2017-03-24 22:02:02 +00:00
js-widgets-endpoint.js REST API: JS client - QUnit tests for custom namespace route discovery. 2017-02-24 18:39:39 +00:00
updates.js Update/Install: Give context to "Deleted! string to allow for differentiation between theme and plugin translations. 2017-01-31 09:58:49 +00:00
wp-api-generated.js REST API: Always add index.php to the REST URL when pretty permalinks are disabled. 2017-07-25 00:49:22 +00:00
wp-api.js WP-API JS Client: Interpret Settings resource as a model. 2017-07-20 20:25:28 +00:00