Opened 5 years ago

Closed 5 years ago

#8082 closed defect (bug) (fixed)

Port Magpie from Snoopy to WP HTTP Request API

Reported by: ryan Owned by: anonymous
Priority: normal Milestone: 2.7
Component: General Version:
Severity: normal Keywords:
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 5 years ago.

Download all attachments as: .zip

Change History (6)

ryan5 years ago

comment:1   ryan5 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

$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();

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

  • Resolution fixed deleted
  • Status changed from closed to reopened

Fix notice before it comes up.

comment:5   ryan5 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.