[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
Mon Apr 27 18:43:37 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 | Focuses:
-------------------------------------+-----------------------------
Comment (by desrosj):
Found this searching Trac before creating my own ticket for the same
issue.
While working on the currently flagged PHPCompatibility issues in #49922,
this came up.
I think this one is tricky to fix. A
[https://wpdirectory.net/search/01E6YDJDD16Q1TQR25YX4PNEJY plugin
directory search] yields ~1,500 instances of `HTTP_RAW_POST_DATA` in the
directory. Any plugin or custom code that relies on this variable being
available could potentially experience problems when it is removed.
There's even a test within the REST API tests making sure content in that
global variable is properly unslashed.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49810#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list