WordPress.org

Make WordPress Core

#20389 closed defect (bug) (fixed)

Changeset 20370 broke unit tests

Reported by: kurtpayne Owned by: dd32
Priority: normal Milestone: 3.4
Component: HTTP Version: 3.4
Severity: normal Keywords: has-patch
Cc:

Description

r20370 broke the HTTP unit tests.

The $theHeaders var is an array, not an object. Patch attached.

Attachments (1)

20389.patch (645 bytes) - added by kurtpayne 15 months ago.

Download all attachments as: .zip

Change History (3)

kurtpayne15 months ago

comment:1 dd3215 months ago

  • Component changed from General to HTTP
  • Milestone changed from Awaiting Review to 3.4
  • Owner set to dd32
  • Status changed from new to accepted

when it's a recent issue, feel free to re-open the ticket it's introduced on if it's a simple fix

comment:2 dd3215 months ago

  • Resolution set to fixed
  • Status changed from accepted to closed

In [20399]:

WP_HTTP: Curl: $theHeaders is an array, not an object, introduced in [20370]. Props kurtpayne. Fixes #20389 See #20219

Note: See TracTickets for help on using tickets.