[wp-trac] [WordPress Trac] #37705: Remove unnecessary parts of WP_HTTP which remain

WordPress Trac noreply at wordpress.org
Thu Aug 18 04:07:11 UTC 2016


#37705: Remove unnecessary parts of WP_HTTP which remain
--------------------------+-----------------------
 Reporter:  dd32          |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  4.7
Component:  HTTP API      |    Version:
 Severity:  normal        |   Keywords:  has-patch
  Focuses:                |
--------------------------+-----------------------
 After Requests was merged in WordPress 4.6, WP_HTTP now wraps it with a
 few of the previous classes remaining for compatibility.

 Some of these have significant code left in them which is no longer used,
 and we've still got the entire cURL and Streams WP_HTTP request classes in
 core.

 We should be able to remove a large percentage of these without too much
 issue.

 There's a chance that some developers have been using these classes
 directly, especially as a number of items were marked as public (due to
 how it was developed).

 I'd like to take the hardline approach and rip everything not needed out
 early, and restore compatibility shims where needed if it turns out
 developers were using things directly (incorrectly).

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37705>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list