Make WordPress Core

Opened 3 months ago

Last modified 3 months 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:


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 3 months ago.
fixed the documents

Download all attachments as: .zip

Change History (4)

#1 @johnbillion
3 months ago

  • Keywords needs-patch good-first-bug added

#2 @desrosj
3 months ago

  • Milestone changed from Awaiting Review to 5.4

3 months ago

fixed the documents

#3 @spenserhale
3 months ago

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