Make WordPress Core

Opened 6 years ago

Closed 6 years ago

#11640 closed defect (bug) (fixed)

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

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


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 6 years ago.
11640.patch (2.8 KB) - added by hakre 6 years ago.

Download all attachments as: .zip

Change History (5)

@dd326 years ago

comment:1 @hakre6 years ago

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

@hakre6 years ago

comment:2 @Denis-de-Bernardy6 years ago

  • Keywords tested added

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

comment:3 @dd326 years ago

  • Resolution set to fixed
  • Status changed from new to 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.