mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-05 15:16:59 +00:00
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
git-svn-id: https://develop.svn.wordpress.org/trunk@10939 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -36,7 +36,7 @@ function get_core_updates( $options = array() ) {
|
||||
$from_api = get_transient( 'update_core' );
|
||||
if ( empty($from_api) )
|
||||
return false;
|
||||
if ( !is_array( $from_api->updates ) ) return false;
|
||||
if ( !isset( $from_api->updates ) || !is_array( $from_api->updates ) ) return false;
|
||||
$updates = $from_api->updates;
|
||||
if ( !is_array( $updates ) ) return false;
|
||||
$result = array();
|
||||
|
||||
Reference in New Issue
Block a user