diff --git a/core/themes/classy/templates/layout/page.html.twig b/core/themes/classy/templates/layout/page.html.twig index a4917e0..cd742e9 100644 --- a/core/themes/classy/templates/layout/page.html.twig +++ b/core/themes/classy/templates/layout/page.html.twig @@ -36,8 +36,6 @@ * comment/reply/12345). * * Regions: - * - page.header_first: Items for the first header region. - * - page.header_second: Items for the second header region. * - page.header: Items for the header region. * - page.messages: Status and error messages. Should be displayed prominently. * - page.primary_menu: Items for the primary menu region. @@ -57,8 +55,6 @@
- {{ page.header_first }} - {{ page.header_second }} {{ page.header }}
diff --git a/core/themes/seven/seven.theme b/core/themes/seven/seven.theme index 43ffae2..73453a3 100644 --- a/core/themes/seven/seven.theme +++ b/core/themes/seven/seven.theme @@ -149,7 +149,7 @@ function seven_preprocess_install_page(&$variables) { $site_config = \Drupal::config('system.site'); // Seven has custom styling for the install page. $variables['#attached']['library'][] = 'seven/install-page'; - $variables['site_name'] = String::checkPlain($site_config->get('name')); + $variables['site_name'] = SafeMarkup::checkPlain($site_config->get('name')); } /** @@ -159,7 +159,7 @@ function seven_preprocess_maintenance_page(&$variables) { $site_config = \Drupal::config('system.site'); // Seven has custom styling for the maintenance page. $variables['#attached']['library'][] = 'seven/maintenance-page'; - $variables['site_name'] = String::checkPlain($site_config->get('name')); + $variables['site_name'] = SafeMarkup::checkPlain($site_config->get('name')); } /**