#20441 closed defect (bug) (fixed)

Notice: Undefined property: stdClass::$response in wp-admin/includes/plugin-install.php

Reported by: ampt Owned by: nacin
Priority: normal Milestone: 3.4
Component: Warnings/Notices Version: 3.4
Severity: minor Keywords: has-patch
Cc:

Description

When searching for a new plugin to install on the /wp-admin/plugin-install.php and there are no plugin updates available $update_plugins->response is not set.

var_dump:

object(stdClass)[302]
  public 'last_checked' => int 1334370347

The attached patch checks to see if response is set before continuing.

Attachments (1)

20441.patch (628 bytes) - added by ampt 13 months ago.

Download all attachments as: .zip

Change History (4)

ampt13 months ago

  • Milestone changed from Awaiting Review to 3.4
  • Keywords has-patch added
  • Owner set to nacin
  • Resolution set to fixed
  • Status changed from new to closed

In [20490]:

Check for the response property in tue update_plugins transient object. props ampt, fixes #20441.

Note: See TracTickets for help on using tickets.