WordPress.org

Make WordPress Core

Ticket #22828: miqro-22828.diff

File miqro-22828.diff, 542 bytes (added by miqrogroove, 17 months ago)
  • wp-admin/includes/update.php

     
    3838                return false; 
    3939        if ( !isset( $from_api->updates ) || !is_array( $from_api->updates ) ) return false; 
    4040        $updates = $from_api->updates; 
    41         if ( !is_array( $updates ) ) return false; 
    4241        $result = array(); 
    4342        foreach($updates as $update) { 
    4443                if ( array_key_exists( $update->current.'|'.$update->locale, $dismissed ) ) {