[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 20:04:09 UTC 2020
#49810: Remove workaround for $HTTP_RAW_POST_DATA bug present in PHP < 5.2.2
-------------------------------------------------+-------------------------
Reporter: skoskie | Owner:
| SergeyBiryukov
Type: enhancement | Status: assigned
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 desrosj):
@jrf What about an approach like in my linked PR (unit tests need to get
fixed).
It it follows the plan I outlined above, but if the variable is set in
those two situations the variable would remain, a `_doing_it_wrong()`
[https://github.com/WordPress/wordpress-develop/pull/313/files#diff-
b159fb0a8d363d544124f731e3ab446eR1373 is triggered] to notify that the
variable was removed in PHP 7.0.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49810#comment:27>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list