Changeset 47926 for trunk/src/xmlrpc.php
- Timestamp:
- 06/08/2020 07:53:19 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/xmlrpc.php
r47198 r47926 16 16 $_COOKIE = array(); 17 17 18 // A bug in PHP < 5.2.2 makes $HTTP_RAW_POST_DATA not set by default,19 // but we can do it ourself.18 // $HTTP_RAW_POST_DATA was deprecated in PHP 5.6 and removed in PHP 7.0. 19 // phpcs:disable PHPCompatibility.Variables.RemovedPredefinedGlobalVariables.http_raw_post_dataDeprecatedRemoved 20 20 if ( ! isset( $HTTP_RAW_POST_DATA ) ) { 21 21 $HTTP_RAW_POST_DATA = file_get_contents( 'php://input' ); … … 26 26 $HTTP_RAW_POST_DATA = trim( $HTTP_RAW_POST_DATA ); 27 27 } 28 // phpcs:enable 28 29 29 30 /** Include the bootstrap for setting up WordPress environment */
Note: See TracChangeset
for help on using the changeset viewer.