diff --git a/core/includes/theme.inc b/core/includes/theme.inc index 144882b..a958cf7 100644 --- a/core/includes/theme.inc +++ b/core/includes/theme.inc @@ -2210,9 +2210,6 @@ function template_preprocess_html(&$variables) { * Uses the arg() function to generate a series of page template suggestions * based on the current path. * - * Any changes to variables in this preprocessor should also be changed inside - * template_preprocess_maintenance_page() to keep all of them consistent. - * * @see drupal_render_page() */ function template_preprocess_page(&$variables) { @@ -2482,20 +2479,13 @@ function template_preprocess_maintenance_page(&$variables) { $variables['head_title_array'] = $head_title; $variables['head_title'] = implode(' | ', $head_title); - $variables['base_path'] = base_path(); $variables['front_page'] = url(); - $variables['breadcrumb'] = ''; - $variables['feed_icons'] = ''; $variables['help'] = ''; $variables['language'] = $language_interface; - $variables['language']->dir = $language_interface->direction ? 'rtl' : 'ltr'; $variables['logo'] = theme_get_setting('logo.url'); $variables['messages'] = $variables['show_messages'] ? theme('status_messages') : ''; - $variables['main_menu'] = array(); - $variables['secondary_menu'] = array(); $variables['site_name'] = (theme_get_setting('features.name') ? String::checkPlain($site_name) : ''); $variables['site_slogan'] = (theme_get_setting('features.slogan') ? filter_xss_admin($site_slogan) : ''); - $variables['tabs'] = ''; // Compile a list of classes that are going to be applied to the body element. $variables['attributes']['class'][] = 'maintenance-page'; diff --git a/core/modules/system/templates/maintenance-page.html.twig b/core/modules/system/templates/maintenance-page.html.twig index b71fa24..b5275c7 100644 --- a/core/modules/system/templates/maintenance-page.html.twig +++ b/core/modules/system/templates/maintenance-page.html.twig @@ -3,8 +3,7 @@ * @file * Default theme implementation to display a single Drupal page while offline. * - * All the available variables are mirrored in html.html.twig and - * page.html.twig. + * All of the available variables are mirrored in html.html.twig. * Some may be blank but they are provided for consistency. * * @see template_preprocess_maintenance_page() diff --git a/core/themes/bartik/templates/maintenance-page.html.twig b/core/themes/bartik/templates/maintenance-page.html.twig index 031f073..b29cafa 100644 --- a/core/themes/bartik/templates/maintenance-page.html.twig +++ b/core/themes/bartik/templates/maintenance-page.html.twig @@ -3,7 +3,7 @@ * @file * Bartik's theme implementation to display a single Drupal page while offline. * - * All of the available variables are mirrored in page.html.twig. + * All of the available variables are mirrored in html.html.twig. * * @see template_preprocess_maintenance_page() * diff --git a/core/themes/seven/templates/maintenance-page.html.twig b/core/themes/seven/templates/maintenance-page.html.twig index 9fb5522..22b84eb 100644 --- a/core/themes/seven/templates/maintenance-page.html.twig +++ b/core/themes/seven/templates/maintenance-page.html.twig @@ -3,7 +3,7 @@ * @file * Seven's theme implementation to display a single Drupal page while offline. * - * All of the available variables are mirrored in page.html.twig. + * All of the available variables are mirrored in html.html.twig. * * @see template_preprocess_maintenance_page() * @see seven_preprocess_maintenance_page()