diff --git a/wp-admin/update-core.php b/wp-admin/update-core.php index c1bf6e7aee..779398429f 100644 --- a/wp-admin/update-core.php +++ b/wp-admin/update-core.php @@ -204,7 +204,9 @@ function core_upgrade_preamble() { } } echo ''; - } else { + } + + if ( isset( $updates[0]->version ) && version_compare( $updates[0]->version, $wp_version, '>' ) ) { echo '

'; _e( 'Important: Before updating, please back up your database and files. For help with updates, visit the Updating WordPress Codex page.' ); echo '

'; diff --git a/wp-includes/version.php b/wp-includes/version.php index 11cd667ab8..8dccfa2763 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-alpha-45531'; +$wp_version = '5.3-alpha-45532'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.