[wp-trac] [WordPress Trac] #49810: Remove workaround for $HTTP_RAW_POST_DATA bug present in PHP < 5.2.2
WordPress Trac
noreply at wordpress.org
Thu Jun 4 15:23:13 UTC 2020
#49810: Remove workaround for $HTTP_RAW_POST_DATA bug present in PHP < 5.2.2
-------------------------------------------------+-------------------------
Reporter: skoskie | Owner:
| SergeyBiryukov
Type: enhancement | Status: reopened
Priority: normal | Milestone: 5.5
Component: XML-RPC | Version: trunk
Severity: trivial | Resolution:
Keywords: has-patch needs-testing has-unit- | Focuses: rest-api
tests |
-------------------------------------------------+-------------------------
Comment (by TimothyBlynJacobs):
> They can without any problem by using file_get_contents('php://input')
which is the recommended alternative for the removed PHP global.
Yes, of course they can update their code to do that. Developers using the
XML-RPC based one could as well. It is still a BC break that costs us very
little to maintain.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49810#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list