Make WordPress Core

Ticket #32365: update.diff

File update.diff, 520 bytes (added by aymanalzarrad, 11 years ago)
  • wp-admin/includes/update.php

     
    4242        $updates = $from_api->updates;
    4343        $result = array();
    4444        foreach ( $updates as $update ) {
    45                 if ( $update->response == 'autoupdate' )
     45                if ( $update->response == 'autoupdate' || ! $update->current)
    4646                        continue;
    4747
    4848                if ( array_key_exists( $update->current . '|' . $update->locale, $dismissed ) ) {