Make WordPress Core


Ignore:
Timestamp:
04/15/2009 07:55:41 PM (15 years ago)
Author:
azaozz
Message:

Disable PHP error reporting in gears-manifest.php, load-scripts.php and load-styles.php since they don't load wp-settings, fix some notices

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/update.php

    r10649 r10939  
    3737    if ( empty($from_api) )
    3838        return false;
    39     if ( !is_array( $from_api->updates ) ) return false;
     39    if ( !isset( $from_api->updates ) || !is_array( $from_api->updates ) ) return false;
    4040    $updates = $from_api->updates;
    4141    if ( !is_array( $updates ) ) return false;
Note: See TracChangeset for help on using the changeset viewer.