Make WordPress Core

Opened 17 years ago

Closed 17 years ago

#11640 closed defect (bug) (fixed)

Increase Plugins API timeout, Check for Error conditions on plugin results

Reported by: dd32 Owned by:
Priority: normal Milestone: 3.0
Component: Upgrade/Install Version: 3.0
Severity: normal Keywords: has-patch tested
Cc: Focuses:

Description

At present, 2 of the plugin listing tables doesnt check to see if valid data is returned from the !wordpress.org api.

In addition, I've increased the timeout to 15 seconds, as it was timing out while running on a high latency link.

See patch

Attachments (2)

11640.diff​ (1.6 KB ) - added by dd32 17 years ago.
11640.patch​ (2.8 KB ) - added by hakre 17 years ago.

Download all attachments as: .zip

Change History (5)

#1 @hakre
17 years ago

Reviewed the patched, looked OK so far, made the checks more propper and tweaking according to coding guidelines.

#2 @Denis-de-Bernardy
17 years ago

  • Keywords tested added

with both patches, the API continues to work fine including with an external API handler.

#3 @dd32
17 years ago

  • Resolution → fixed
  • Status new → closed

(In [12742]) Add extra error checking to the Plugin Browser and Plugin API function. Fixes #11640

Note: See TracTickets for help on using tickets.