diff --git a/src/wp-admin/about.php b/src/wp-admin/about.php index 2328f60660..981495dbd1 100644 --- a/src/wp-admin/about.php +++ b/src/wp-admin/about.php @@ -40,8 +40,27 @@ include( ABSPATH . 'wp-admin/admin-header.php' );
is able to apply these updates automatically. Cool!' ); ?>
-is not able to apply these updates automatically. But we’ll email %s when there is a new security release.' ), esc_html( get_site_option( 'admin_email' ) ) ); ?>
+ $wp_version . '.1-about.php', + 'version' => $wp_version . '.1-about.php', + 'php_version' => $required_php_version, + 'mysql_version' => $required_mysql_version, + ); + $can_auto_update = $upgrader->should_upgrade( 'core', $future_minor_update, ABSPATH ); + } + if ( $can_auto_update ) : ?> +is able to apply these updates automatically. Cool!' ); ?>
+ +is not able to apply these updates automatically. But we’ll email %s when there is a new security release.' ), esc_html( get_site_option( 'admin_email' ) ) ); ?>
+