[wp-trac] [WordPress Trac] #33709: Deprecate wp_get_http()

WordPress Trac noreply at wordpress.org
Sat Sep 5 12:23:00 UTC 2015


#33709: Deprecate wp_get_http()
--------------------------------------+------------------
 Reporter:  johnbillion               |       Owner:
     Type:  defect (bug)              |      Status:  new
 Priority:  low                       |   Milestone:  4.4
Component:  HTTP API                  |     Version:  2.5
 Severity:  normal                    |  Resolution:
 Keywords:  good-first-bug has-patch  |     Focuses:
--------------------------------------+------------------
Changes (by swissspidy):

 * keywords:  needs-patch good-first-bug => good-first-bug has-patch
 * milestone:  Awaiting Review => 4.4


Comment:

 [attachment:33709.diff 33709.diff] does the following:

 * Move the function to `wp-includes/deprecated.php`, recommending
 `WP_HTTP` as the alternative
 * Updates the tests in `Tests_HTTP_Functions` accordingly to use
 `wp_remote_get`, all continue to pass.

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


More information about the wp-trac mailing list