[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:53:04 UTC 2020


#49810: Remove workaround for $HTTP_RAW_POST_DATA bug present in PHP < 5.2.2
-------------------------------------------------+-------------------------
 Reporter:  skoskie                              |       Owner:  jrf
     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                                          |
-------------------------------------------------+-------------------------
Changes (by jrf):

 * owner:  SergeyBiryukov => jrf
 * status:  reopened => assigned


Comment:

 The whole thing with the variable in the `src/xmlrpc.php` file is, is that
 the variable is unused in WP.

 To move forward there are three options:
 * Remove the variable all together as it is unused.
 * Rename the variable.
 * Leave as is.

 As the variable is unused in WP core, both option 1 and 2 feel like a
 pretty big break.

 This is different from the REST API situation where there was a function
 in place already which people should have used instead from the beginning.

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


More information about the wp-trac mailing list