WordPress.org

Make WordPress Core

Opened 9 years ago

Closed 9 years ago

#20389 closed defect (bug) (fixed)

Changeset 20370 broke unit tests

Reported by: kurtpayne Owned by: dd32
Milestone: 3.4 Priority: normal
Severity: normal Version: 3.4
Component: HTTP API Keywords: has-patch
Focuses: 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 9 years ago.

Download all attachments as: .zip

Change History (3)

@kurtpayne
9 years ago

#1 @dd32
9 years 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

#2 @dd32
9 years 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.