diff --git a/wp-admin/includes/update.php b/wp-admin/includes/update.php
index a3a35c8d29..24020accdc 100644
--- a/wp-admin/includes/update.php
+++ b/wp-admin/includes/update.php
@@ -68,6 +68,19 @@ function get_core_updates( $options = array() ) {
 			}
 		}
 	}
+	$compatible_updates = array_filter(
+		$updates,
+		function( $update ) {
+			$php_version = \phpversion();
+			return $php_version >= $update->php_version;
+		}
+	);
+	$best_update        = empty( $compatible_updates ) ? [] : array_shift( $compatible_updates );
+	if ( isset( $best_update->response ) && ! empty( $result ) ) {
+		$best_update->response = 'upgrade';
+		$result[]              = $best_update;
+	}
+
 	return $result;
 }
 
