diff -u b/core/modules/update/src/ProjectCoreCompatibility.php b/core/modules/update/src/ProjectCoreCompatibility.php --- b/core/modules/update/src/ProjectCoreCompatibility.php +++ b/core/modules/update/src/ProjectCoreCompatibility.php @@ -139,6 +139,9 @@ foreach ($releases_to_set as &$release) { if (!empty($release['core_compatibility'])) { $release['core_compatible'] = $this->isCoreCompatible($release['core_compatibility']); + if (!$release['core_compatible']) { + $release['hide_download_link'] = TRUE; + } $release['core_compatibility_range'] = $this->createMessageFromCoreCompatibility($release['core_compatibility']); $release['core_compatibility_details'] = $this->createCoreCompatibilityDetails($release['core_compatible'], $release['core_compatibility_range']); } diff -u b/core/modules/update/templates/update-version.html.twig b/core/modules/update/templates/update-version.html.twig --- b/core/modules/update/templates/update-version.html.twig +++ b/core/modules/update/templates/update-version.html.twig @@ -13,6 +13,7 @@ * - release_link: The URL for the release notes. * - core_compatible (bool): Is it compatible with the installed core or not? * - core_compatibility_details: Render array of core compatibility details. + * - hide_download_link (bool|NULL): Should the download link be hidden? * * @ingroup themeable */ @@ -26,7 +27,7 @@