Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#20441 closed defect (bug) (fixed)

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

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


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.


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

Download all attachments as: .zip

Change History (4)

8 years ago

#1 @nacin
8 years ago

  • Milestone changed from Awaiting Review to 3.4

#2 @SergeyBiryukov
8 years ago

  • Keywords has-patch added

#3 @nacin
8 years ago

  • 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.