[wp-trac] [WordPress Trac] #20441: Notice: Undefined property: stdClass::$response in wp-admin/includes/plugin-install.php

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 14 02:57:23 UTC 2012


#20441: Notice: Undefined property: stdClass::$response in wp-admin/includes
/plugin-install.php
------------------------------+-----------------------------
 Reporter:  ampt              |      Owner:
     Type:  defect (bug)      |     Status:  new
 Priority:  normal            |  Milestone:  Awaiting Review
Component:  Warnings/Notices  |    Version:  3.4
 Severity:  minor             |   Keywords:
------------------------------+-----------------------------
 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.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/20441>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list