diff --git a/wp-admin/includes/update.php b/wp-admin/includes/update.php index c2b8a4257b..89cb1f858a 100644 --- a/wp-admin/includes/update.php +++ b/wp-admin/includes/update.php @@ -707,7 +707,7 @@ function maintenance_nag() { * This flag is cleared whenever a successful update occurs using Core_Upgrader. */ $comparison = ! empty( $failed['critical'] ) ? '>=' : '>'; - if ( version_compare( $failed['attempted'], $wp_version, $comparison ) ) { + if ( isset( $failed['attempted'] ) && version_compare( $failed['attempted'], $wp_version, $comparison ) ) { $nag = true; } } diff --git a/wp-includes/version.php b/wp-includes/version.php index 7c388052de..275382f1b0 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-alpha-46184'; +$wp_version = '5.3-alpha-46185'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.