WordPress/wp-includes/rest-api
Rachel Baker d359ffc270 REST API: Remove experimental `filter` wrapper parameter from the Posts Controller class.
Hiding WP_Query params under the filter key (instead of allowing them to be top-level params) was one of our biggest complaints from users of v1 of our REST API. This walks back the re-introduction of the `filter` param during Beta 15, which introduced an "inconsistent mess" and "exposing WP_Query through filter has and will continue to be difficult to support." See https://github.com/WP-API/WP-API/issues/2799.

Props websupporter, rachelbaker.
Fixes #38378.
Built from https://develop.svn.wordpress.org/trunk@38968


git-svn-id: http://core.svn.wordpress.org/trunk@38911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2016-10-26 21:37:31 +00:00
..
endpoints REST API: Remove experimental `filter` wrapper parameter from the Posts Controller class. 2016-10-26 21:37:31 +00:00
fields REST API: Introduce the Content API endpoints. 2016-10-20 02:55:32 +00:00
class-wp-rest-request.php REST API: Enable sanitize_callback to return WP_Error. 2016-09-14 15:50:29 +00:00
class-wp-rest-response.php DOCS: Replace HTTP links with HTTPS. 2016-06-10 04:50:33 +00:00
class-wp-rest-server.php REST API: Deprecate the `rest_enabled` filter. 2016-10-26 06:28:30 +00:00