Make WordPress Core

Opened 3 years ago

Closed 3 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 3 years ago.

Download all attachments as: .zip

Change History (4)

@ampt3 years ago

comment:1 @nacin3 years ago

  • Milestone changed from Awaiting Review to 3.4

comment:2 @SergeyBiryukov3 years ago

  • Keywords has-patch added

comment:3 @nacin3 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.