Changeset 47926 for trunk/src/wp-includes/IXR/class-IXR-server.php
- Timestamp:
- 06/08/2020 07:53:19 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/IXR/class-IXR-server.php
r45424 r47926 48 48 } 49 49 50 global $HTTP_RAW_POST_DATA; 51 if (empty($HTTP_RAW_POST_DATA)) { 52 // workaround for a bug in PHP 5.2.2 - http://bugs.php.net/bug.php?id=41293 53 $data = file_get_contents('php://input'); 54 } else { 55 $data =& $HTTP_RAW_POST_DATA; 56 } 50 $data = file_get_contents('php://input'); 57 51 } 58 52 $this->message = new IXR_Message($data);
Note: See TracChangeset
for help on using the changeset viewer.