Wordpress/tests/qunit/fixtures
Sergey Biryukov c2390f96a2 REST API: Avoid using 'parent' as path argument name for autosaves.
When 'parent' is set as the path argument name, it gets passed down through to the `create_item()` method and can erroneously reset the 'parent' value on the post itself. Instead, we rename the argument to 'id' and replicate the revision controller's `get_items_permissions_check()` to instead reference 'id'.

Also ensures revision query params (of which there are many) aren't exposed as the query params for autosaves (of which there are two).

Props TimothyBlynJacobs.
Merges [43897] to trunk.
See #43316.

git-svn-id: https://develop.svn.wordpress.org/trunk@44250 602fd350-edb4-49c9-b593-d223f7449a82
2018-12-17 00:23:55 +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: Add changeset locking in Customizer to prevent users from overriding each other's changes. 2017-10-12 04:00:15 +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: Avoid using 'parent' as path argument name for autosaves. 2018-12-17 00:23:55 +00:00
wp-api.js WP-API JS Client: Interpret Settings resource as a model. 2017-07-20 20:25:28 +00:00