WordPress.org

Make WordPress Core

Opened 2 months ago

Last modified 6 weeks ago

#48351 new enhancement

Stricter docs for WP_Http::processResponse()

Reported by: marekdedic Owned by:
Milestone: 5.4 Priority: normal
Severity: minor Version: 5.2
Component: HTTP API Keywords: good-first-bug has-patch
Focuses: docs Cc:
PR Number:

Description

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.

Attachments (1)

48351.diff (678 bytes) - added by takeshifurusato 6 weeks ago.
fixed the documents

Download all attachments as: .zip

Change History (4)

#1 @johnbillion
2 months ago

  • Keywords needs-patch good-first-bug added

#2 @desrosj
2 months ago

  • Milestone changed from Awaiting Review to 5.4

@takeshifurusato
6 weeks ago

fixed the documents

#3 @spenserhale
6 weeks ago

  • Keywords has-patch added; needs-patch removed
Note: See TracTickets for help on using tickets.