mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
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:
@@ -150,8 +150,8 @@ function core_upgrade_preamble() {
|
||||
require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php';
|
||||
$upgrader = new WP_Automatic_Updater;
|
||||
$future_minor_update = (object) array(
|
||||
'current' => $wp_version . '.1-update-core.php',
|
||||
'version' => $wp_version . '.1-update-core.php',
|
||||
'current' => $wp_version . '.1.next.minor',
|
||||
'version' => $wp_version . '.1.next.minor',
|
||||
'php_version' => $required_php_version,
|
||||
'mysql_version' => $required_mysql_version,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user