summaryrefslogtreecommitdiff
path: root/includes/theme.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/theme.inc')
-rw-r--r--includes/theme.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/includes/theme.inc b/includes/theme.inc
index 0f26fde27..2258e5602 100644
--- a/includes/theme.inc
+++ b/includes/theme.inc
@@ -85,6 +85,9 @@ function drupal_theme_initialize() {
$ancestor = $themes[$ancestor]->base_theme;
}
_drupal_theme_initialize($themes[$theme], array_reverse($base_theme));
+
+ // Themes can have alter functions, so reset the drupal_alter() cache.
+ drupal_static_reset('drupal_alter');
}
/**