[wp-trac] [WordPress Trac] #33711: Introduce HTTP API response cookie functions

WordPress Trac noreply at wordpress.org
Thu Sep 3 15:48:24 UTC 2015


#33711: Introduce HTTP API response cookie functions
-------------------------+----------------------------
 Reporter:  johnbillion  |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Future Release
Component:  HTTP API     |    Version:
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+----------------------------
 We have several HTTP API helper functions for retrieving the response
 code, body, and headers, but none for the cookies or an individual cookie.

 Let's introduce:

  * `array wp_remote_retrieve_cookies( $response )`
  * `WP_Http_Cookie wp_remote_retrieve_cookie( $response, $cookie )`
  * `string wp_remote_retrieve_cookie_value( $response, $cookie )`

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


More information about the wp-trac mailing list