WordPress.org

Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#8082 closed defect (bug) (fixed)

Port Magpie from Snoopy to WP HTTP Request API

Reported by: ryan Owned by:
Milestone: 2.7 Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

Description

Since Snoopy is unmaintained and has had security problems, let's move to our internal request API.

Attachments (1)

8082.diff (1.4 KB) - added by ryan 6 years ago.

Download all attachments as: .zip

Change History (6)

@ryan6 years ago

comment:1 @ryan6 years ago

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

(In [9553]) Port Magpie from Snoopy to WP HTTP Request API. fixes #8082

comment:2 @jacobsantos6 years ago

$response is going to have a notice attached to it because you haven't created the variable before using it.

There should be before it is used:

$response = (object) array();

comment:3 @jacobsantos6 years ago

or $response = new stdClass; to match $res = new stdClass; in the error condition.

comment:4 @jacobsantos6 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

Fix notice before it comes up.

comment:5 @ryan6 years ago

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

(In [9554]) Fix notice. fixes #8082

Note: See TracTickets for help on using tickets.