WordPress/wp-includes/rest-api
davidbaumwald 3d3eb43612 Grouped backports to the 4.4 branch.
- Comments: Prevent users who can not see a post from seeing comments on it.
- Shortcodes: Restrict media shortcode ajax to certain type.
- REST API: Ensure no-cache headers are sent when methods are overridden.
- Prevent unintended behavior when certain objects are unserialized.

Merges [56834], [56835], [56836], and [56838] to the 4.4 branch.
Props xknown, jorbin, joehoyle, timothyblynjacobs, peterwilsoncc, ehtis, tykoted, antpb, rmccue.
Built from https://develop.svn.wordpress.org/branches/4.4@56855


git-svn-id: http://core.svn.wordpress.org/branches/4.4@56366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-10-12 18:09:23 +00:00
..
class-wp-rest-request.php REST API: Unabbreviate error string. 2015-11-30 09:51:27 +00:00
class-wp-rest-response.php Update `WP_REST_Response::as_error()` to handle the new format error responses introduced in [35653]. 2015-11-18 18:29:26 +00:00
class-wp-rest-server.php Grouped backports to the 4.4 branch. 2023-10-12 18:09:23 +00:00