WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/15/2013 05:06:35 AM (8 years ago)
Author:
nacin
Message:

Hide auto updates from update-core.php directly in get_core_updates(). see #22704.

File:
1 edited

Legend:

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

    r25649 r25783  
    4343    $result = array();
    4444    foreach ( $updates as $update ) {
     45        if ( $update->response == 'autoupdate' )
     46            continue;
     47
    4548        if ( array_key_exists( $update->current . '|' . $update->locale, $dismissed ) ) {
    4649            if ( $options['dismissed'] ) {
Note: See TracChangeset for help on using the changeset viewer.