Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The header area of maintenance-page.tpl.php is missing a <span>
element that should wrap $site_name
for consistency with page.tpl.php. The result of this is that if anyone normally applies CSS on the span element this styling will not be applied when the page is in maintenance mode.
To fix simply wrap print $site_name;
with opening and closing tags.
Comments
Comment #1
joeyabbs CreditAttribution: joeyabbs commentedFix:
<span><?php print $site_name; ?></span>
Patch attached: http://drupal.org/files/maintenance-bug-1082242-4172372.patch
Comment #2
joeyabbs CreditAttribution: joeyabbs commentedComment #3
joeyabbs CreditAttribution: joeyabbs commentedComment #4
JohnAlbinThanks, Joey! You're in the CHANGELOG now.
Fixed. http://drupalcode.org/project/zen.git/commit/500bd07
Comment #5
joeyabbs CreditAttribution: joeyabbs commentedThanks John!