diff --git a/core/modules/update/src/ProjectCoreCompatibility.php b/core/modules/update/src/ProjectCoreCompatibility.php index 497137df2e..b3fed56e5f 100644 --- a/core/modules/update/src/ProjectCoreCompatibility.php +++ b/core/modules/update/src/ProjectCoreCompatibility.php @@ -14,7 +14,7 @@ class ProjectCoreCompatibility { use StringTranslationTrait; /** - * The currently-installed version of Drupal core on this site. + * The currently installed version of Drupal core. * * @var string */ diff --git a/core/modules/update/templates/update-version.html.twig b/core/modules/update/templates/update-version.html.twig index 5ca4ce46dd..3c5e69ae4f 100644 --- a/core/modules/update/templates/update-version.html.twig +++ b/core/modules/update/templates/update-version.html.twig @@ -11,7 +11,7 @@ * - date: The date of the release. * - download_link: The URL for the downloadable file. * - release_link: The URL for the release notes. - * - core_compatible: A flag indicating whether the release is with the installed core or not? + * - core_compatible: A flag indicating whether the release is compatible with the installed core or not? * - core_compatibility_message: A message about core compatibility. * * @ingroup themeable diff --git a/core/modules/update/tests/src/Functional/UpdateContribTest.php b/core/modules/update/tests/src/Functional/UpdateContribTest.php index 7e47fa165f..3d105a3ed1 100644 --- a/core/modules/update/tests/src/Functional/UpdateContribTest.php +++ b/core/modules/update/tests/src/Functional/UpdateContribTest.php @@ -731,17 +731,17 @@ protected function assertCoreCompatibilityMessage($version, $expected_compatibil $details_summary_element = $update_compatibility_details_element->find('css', 'summary'); if ($is_compatible) { $download_version = str_replace('.', '-', $version); - // If an update is compatible with the installed version of Drupal - // core it should have a download link and the details element - // should not be open by default. + // If an update is compatible with the installed version of Drupal core it + // should have a download link and the details element should not be open + // by default. $this->assertFalse($update_compatibility_details_element->hasAttribute('open')); $this->assertSame('Compatible', $details_summary_element->getText()); $this->assertEquals($update_info_element->getParent()->findLink('Download')->getAttribute('href'), "http://example.com/{$this->updateProject}-$download_version.tar.gz"); } else { // If an update is not compatible with the installed version of Drupal - // core it should not have a download link and the details element - // should be open by default. + // core it should not have a download link and the details element should + // be open by default. $this->assertTrue($update_compatibility_details_element->hasAttribute('open')); $this->assertSame('Incompatible', $details_summary_element->getText()); $this->assertFalse($update_info_element->getParent()->hasLink('Download')); diff --git a/core/themes/claro/templates/admin/update-version.html.twig b/core/themes/claro/templates/admin/update-version.html.twig index 250305e310..2c240a34f6 100644 --- a/core/themes/claro/templates/admin/update-version.html.twig +++ b/core/themes/claro/templates/admin/update-version.html.twig @@ -11,7 +11,7 @@ * - date: The date of the release. * - download_link: The URL for the downloadable file. * - release_link: The URL for the release notes. - * - core_compatible: A flag indicating whether the release is with the installed core or not? + * - core_compatible: A flag indicating whether the release is compatible with the installed core or not? * - core_compatibility_message: A message about core compatibility. */ #} diff --git a/core/themes/stable/templates/admin/update-version.html.twig b/core/themes/stable/templates/admin/update-version.html.twig index f9f1ff8811..34daf0c4f6 100644 --- a/core/themes/stable/templates/admin/update-version.html.twig +++ b/core/themes/stable/templates/admin/update-version.html.twig @@ -11,7 +11,7 @@ * - date: The date of the release. * - download_link: The URL for the downloadable file. * - release_link: The URL for the release notes. - * - core_compatible: A flag indicating whether the release is with the installed core or not? + * - core_compatible: A flag indicating whether the release is compatible with the installed core or not? * - core_compatibility_message: A message about core compatibility. */ #}