[wp-trac] [WordPress Trac] #48351: Stricter docs for WP_Http::processResponse()

WordPress Trac noreply at wordpress.org
Thu Oct 17 12:37:42 UTC 2019


#48351: Stricter docs for WP_Http::processResponse()
-------------------------+-----------------------------
 Reporter:  marekdedic   |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  HTTP API     |    Version:  5.2
 Severity:  minor        |   Keywords:
  Focuses:  docs         |
-------------------------+-----------------------------
 I believe the function could better document the and return type. From a
 look at the source, maybe something like this:

 {{{
 @return array {
     @type string $headers
     @type string $body
 }
 }}}
 + comments obviously.

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


More information about the wp-trac mailing list