[wp-trac] [WordPress Trac] #49922: PHP Compatibility fixes for 5.5

WordPress Trac noreply at wordpress.org
Mon Jun 8 19:53:34 UTC 2020


#49922: PHP Compatibility fixes for 5.5
----------------------------+-------------------------------
 Reporter:  desrosj         |       Owner:  desrosj
     Type:  task (blessed)  |      Status:  assigned
 Priority:  normal          |   Milestone:  5.5
Component:  General         |     Version:
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  coding-standards
----------------------------+-------------------------------

Comment (by desrosj):

 In [changeset:"47926" 47926]:
 {{{
 #!CommitTicketReference repository="" revision="47926"
 General: Remove or add inline comments to `$HTTP_RAW_POST_DATA`
 occurrences.

 The `$HTTP_RAW_POST_DATA` global was deprecated in PHP 5.6 and removed
 completely in PHP 7.0. In general, `php://input` should be used instead of
 `$HTTP_RAW_POST_DATA`.

 Because WordPress Core still supports PHP 5.6, some plugins or sites may
 still rely on this variable being present and populated with the expected
 data. For that reason, occurrences of the variable will remain with
 updated inline documentation until support for PHP 5.6 is officially
 dropped in WordPress.

 Props skoskie, jrf, desrosj, TimothyBlynJacobs.
 See #49922.
 Fixes #49810.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49922#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list