Make WordPress Core

Opened 18 years ago

Closed 18 years ago

#8082 closed defect (bug) (fixed)

Port Magpie from Snoopy to WP HTTP Request API

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

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 18 years ago.

Download all attachments as: .zip

Change History (6)

#1 @ryan
18 years ago

  • Resolution → fixed
  • Status new → closed

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

#2 @jacobsantos
18 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();

#3 @jacobsantos
18 years ago

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

#4 @jacobsantos
18 years ago

  • Resolution fixed
  • Status closed → reopened

Fix notice before it comes up.

#5 @ryan
18 years ago

  • Resolution → fixed
  • Status reopened → closed

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

Note: See TracTickets for help on using tickets.