diff --git a/src/Form/SettingsForm.php b/src/Form/SettingsForm.php index 0f304ce7dda69414f9224f6667e990d78cf70dd8..ff0d3fcd9d62a69ca5346d8be9fca6078d1014a6 100644 --- a/src/Form/SettingsForm.php +++ b/src/Form/SettingsForm.php @@ -101,7 +101,7 @@ class SettingsForm extends ConfigFormBase { $form['ignored_paths'] = [ '#type' => 'textarea', '#title' => $this->t('Paths to ignore for readiness checks'), - '#description' => $this->t('Paths relative to %drupal_root. One path per line.', ['%drupal_root' => $this->drupalRoot]), + '#description' => $this->t('Paths relative to %drupal_root. One path per line. Automatic Updates is intentionally limited to Drupal core. It is recommended to ignore paths to contrib extensions.', ['%drupal_root' => $this->drupalRoot]), '#default_value' => $config->get('ignored_paths'), '#states' => [ 'visible' => [ @@ -133,9 +133,9 @@ class SettingsForm extends ConfigFormBase { ]; } - $update_text = $this->t('Even with all that caution, if you want to try it out... <i>no update is available at this time. Check back later once a newer release is provided for a link to update your site.</i>'); + $update_text = $this->t('Your site is running %version of Drupal core. No recommended update is available at this time.</i>', ['%version' => \Drupal::VERSION]); if ($not_recommended && $no_dev_core) { - $update_text = $this->t('Even with all that caution, if you want to try it out, <a href="@link">update now</a>.', [ + $update_text = $this->t('Even with all that caution, if you want to try it out, <a href="@link">manually update now</a>.', [ '@link' => Url::fromRoute('automatic_updates.inplace-update', [ 'project' => 'drupal', 'type' => 'core', @@ -146,7 +146,7 @@ class SettingsForm extends ConfigFormBase { } $form['experimental']['update'] = [ - '#prefix' => 'Database updates are not run after an update. This module does not have a stable release and it is recommended to not use these features on a live website. Use at your own risk.', + '#prefix' => 'Database updates are <strong>not</strong> run after an update. This module does not have a stable release and it is recommended to not use these features on a live website. Use at your own risk.', '#type' => 'html_tag', '#tag' => 'p', '#value' => $update_text, @@ -156,7 +156,7 @@ class SettingsForm extends ConfigFormBase { '#type' => 'checkbox', '#title' => $this->t('Enable automatic updates of Drupal core via cron.'), '#default_value' => $config->get('enable_cron_updates'), - '#description' => $this->t('As an alternative to the full control of manually executing an update, enable automated updates via cron.'), + '#description' => $this->t('When a recommended update for Drupal core is available, a manual method to update is available. As an alternative to the full control of manually executing an update, enable automated updates via cron.'), ]; $form['experimental']['enable_cron_security_updates'] = [ '#type' => 'checkbox', diff --git a/tests/src/Functional/AutomaticUpdatesTest.php b/tests/src/Functional/AutomaticUpdatesTest.php index 3acc8fbf86c6758e65e54098f2b516ab9239027f..e2a9a9023d42a5237896476d131597c51e843bf6 100644 --- a/tests/src/Functional/AutomaticUpdatesTest.php +++ b/tests/src/Functional/AutomaticUpdatesTest.php @@ -12,6 +12,11 @@ use Drupal\Tests\BrowserTestBase; */ class AutomaticUpdatesTest extends BrowserTestBase { + /** + * {@inheritdoc} + */ + protected $defaultTheme = 'stark'; + /** * {@inheritdoc} */ diff --git a/tests/src/Functional/LogPageTest.php b/tests/src/Functional/LogPageTest.php index 532c579f5a7e035c6dabdde0ef7bc50e1540c885..75e328d6411e80337d6473c8ae2041b4bf76513a 100644 --- a/tests/src/Functional/LogPageTest.php +++ b/tests/src/Functional/LogPageTest.php @@ -11,6 +11,11 @@ use Drupal\Tests\BrowserTestBase; */ class LogPageTest extends BrowserTestBase { + /** + * {@inheritdoc} + */ + protected $defaultTheme = 'stark'; + /** * {@inheritdoc} */ diff --git a/tests/src/Functional/NotifyTest.php b/tests/src/Functional/NotifyTest.php index 77b63a6e49122b4e750bb2eaf53f3af8e7506e80..a0bdbe0e5c897d5e4a9fb6c349d3805035254d56 100644 --- a/tests/src/Functional/NotifyTest.php +++ b/tests/src/Functional/NotifyTest.php @@ -16,6 +16,11 @@ class NotifyTest extends BrowserTestBase { use AssertMailTrait; use StringTranslationTrait; + /** + * {@inheritdoc} + */ + protected $defaultTheme = 'stark'; + /** * {@inheritdoc} */