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.


git-svn-id: https://develop.svn.wordpress.org/trunk@25841 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin
2013-10-18 16:29:16 +00:00
parent 77730d6377
commit 0b22aae62d
5 changed files with 146 additions and 15 deletions
+3
View File
@@ -897,6 +897,9 @@ function update_core($from, $to) {
// If we made it this far:
do_action( '_core_updated_successfully', $wp_version );
// Clear the option that blocks auto updates after failures, now that we've been successful.
delete_site_option( 'auto_core_update_failed' );
return $wp_version;
}