[wp-trac] [WordPress Trac] #33024: stdClass::$last_updated

WordPress Trac noreply at wordpress.org
Fri Jul 17 10:19:48 UTC 2015


#33024: stdClass::$last_updated
-------------------------+-----------------------------
 Reporter:  icetee       |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  General      |    Version:  4.2.2
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 Notice: Undefined property: stdClass::$last_updated

 wp-admin/includes/plugin-install.php file:

 x       $last_updated_timestamp = strtotime( $api->last_updated );

 +       if ( !empty($api->last_updated) ) {
 +               $last_updated_timestamp = strtotime( $api->last_updated );
 +       }

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33024>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list