[wp-trac] [WordPress Trac] #17416: Use wp_remote_retrieve_* functions where appropriate (was: Browser nag should use built-in HTTP functions)

WordPress Trac wp-trac at lists.automattic.com
Fri May 13 14:32:20 UTC 2011


#17416: Use wp_remote_retrieve_* functions where appropriate
----------------------------+-----------------------
 Reporter:  aaroncampbell   |       Owner:  nacin
     Type:  defect (bug)    |      Status:  accepted
 Priority:  normal          |   Milestone:  3.2
Component:  Administration  |     Version:  3.2
 Severity:  normal          |  Resolution:
 Keywords:                  |
----------------------------+-----------------------
Changes (by aaroncampbell):

 * keywords:  has-patch =>


Old description:

> The browser nag (#17323) should use `wp_remote_retrieve_response_code()`
> and `wp_remote_retrieve_body()`.

New description:

 There are quite a few places where we're not using these:
 * `wp_remote_retrieve_headers()`
 * `wp_remote_retrieve_header()`
 * `wp_remote_retrieve_response_code()`
 * `wp_remote_retrieve_response_message()`
 * `wp_remote_retrieve_body()`.

--

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17416#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list