WordPress/wp-includes/rest-api
desrosj c591d94cc5 General: Remove or add inline comments to `$HTTP_RAW_POST_DATA` occurrences.
The `$HTTP_RAW_POST_DATA` global was deprecated in PHP 5.6 and removed completely in PHP 7.0. In general, `php://input` should be used instead of `$HTTP_RAW_POST_DATA`.

Because WordPress Core still supports PHP 5.6, some plugins or sites may still rely on this variable being present and populated with the expected data. For that reason, occurrences of the variable will remain with updated inline documentation until support for PHP 5.6 is officially dropped in WordPress.

Props skoskie, jrf, desrosj, TimothyBlynJacobs.
See #49922.
Fixes #49810.
Built from https://develop.svn.wordpress.org/trunk@47926


git-svn-id: http://core.svn.wordpress.org/trunk@47700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2020-06-08 19:55:10 +00:00
..
endpoints REST API: Support the (min|max)Items JSON Schema keywords. 2020-06-07 22:42:13 +00:00
fields Docs: Correct `@return` value for `WP_REST_Meta_Fields::get_value()`. 2020-05-27 09:44:11 +00:00
search Docs: Add missing `@see` tag to `WP_REST_Post_Search_Handler` DocBlock. 2019-05-14 15:00:07 +00:00
class-wp-rest-request.php REST API: Handle parameter types consistently within set_param(). 2020-04-09 19:30:07 +00:00
class-wp-rest-response.php Docs: Improve inline comments per the documentation standards. 2020-01-29 00:45:18 +00:00
class-wp-rest-server.php General: Remove or add inline comments to `$HTTP_RAW_POST_DATA` occurrences. 2020-06-08 19:55:10 +00:00