Make WordPress Core


Ignore:
Timestamp:
10/18/2013 04:29:16 PM (12 years ago)
Author:
nacin
Message:

Notify administrators of successful, failed, and pending core updates.

Blocks future background updates after critical failures, but allow retries in certain situations. More in the ticket.

fixes #10787.

File:
1 edited

Legend:

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

    r25831 r25841  
    898898    do_action( '_core_updated_successfully', $wp_version );
    899899
     900    // Clear the option that blocks auto updates after failures, now that we've been successful.
     901    delete_site_option( 'auto_core_update_failed' );
     902
    900903    return $wp_version;
    901904}
Note: See TracChangeset for help on using the changeset viewer.