diff --git a/wp-admin/includes/update.php b/wp-admin/includes/update.php index feafd94b87..5ee195a79f 100644 --- a/wp-admin/includes/update.php +++ b/wp-admin/includes/update.php @@ -364,7 +364,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, '>=' ) ) + if ( version_compare( $failed['attempted'], $wp_version, $comparison ) ) $nag = true; }