From 047faa3e9651752929b182f852d4ca7bca2d4b0d Mon Sep 17 00:00:00 2001
From: Lauri Eskola <lauri.eskola@acquia.com>
Date: Mon, 8 Aug 2022 11:39:05 +0300
Subject: [PATCH] =?UTF-8?q?Issue=20#3262674=20by=20tstoeckler,=20lauriii,?=
 =?UTF-8?q?=20cindytwilliams,=20mherchel,=20G=C3=A1bor=20Hojtsy:=20Use=20C?=
 =?UTF-8?q?laro=20instead=20of=20Bartik=20as=20fallback=20maintenance=20th?=
 =?UTF-8?q?eme?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 core/assets/scaffold/files/default.settings.php | 2 +-
 core/includes/theme.maintenance.inc             | 6 +++---
 sites/default/default.settings.php              | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/core/assets/scaffold/files/default.settings.php b/core/assets/scaffold/files/default.settings.php
index 447e94eef3b2..5784a9c7523d 100644
--- a/core/assets/scaffold/files/default.settings.php
+++ b/core/assets/scaffold/files/default.settings.php
@@ -591,7 +591,7 @@
  *
  * Note: This setting does not apply to installation and update pages.
  */
-# $settings['maintenance_theme'] = 'bartik';
+# $settings['maintenance_theme'] = 'claro';
 
 /**
  * PHP settings:
diff --git a/core/includes/theme.maintenance.inc b/core/includes/theme.maintenance.inc
index 32102337b4e8..c41c48469172 100644
--- a/core/includes/theme.maintenance.inc
+++ b/core/includes/theme.maintenance.inc
@@ -14,7 +14,7 @@
  * Used for site installs, updates and when the site is in maintenance mode.
  * It also applies when the database is unavailable or bootstrap was not
  * complete. Seven is always used for the initial install and update
- * operations. In other cases, Bartik is used, but this can be overridden by
+ * operations. In other cases, Claro is used, but this can be overridden by
  * setting a "maintenance_theme" key in the $settings variable in settings.php.
  */
 function _drupal_maintenance_theme() {
@@ -53,8 +53,8 @@ function _drupal_maintenance_theme() {
     }
     if (!$custom_theme) {
       // We have been unable to identify the configured theme, so fall back to
-      // a safe default. Bartik is reasonably user friendly and fairly generic.
-      $custom_theme = 'bartik';
+      // a safe default. Claro is reasonably user friendly and fairly generic.
+      $custom_theme = 'claro';
     }
   }
 
diff --git a/sites/default/default.settings.php b/sites/default/default.settings.php
index 447e94eef3b2..5784a9c7523d 100644
--- a/sites/default/default.settings.php
+++ b/sites/default/default.settings.php
@@ -591,7 +591,7 @@
  *
  * Note: This setting does not apply to installation and update pages.
  */
-# $settings['maintenance_theme'] = 'bartik';
+# $settings['maintenance_theme'] = 'claro';
 
 /**
  * PHP settings:
-- 
GitLab