Index: includes/theme.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/theme.inc,v
retrieving revision 1.363
diff -u -p -r1.363 theme.inc
--- includes/theme.inc	3 Jul 2007 18:48:41 -0000	1.363
+++ includes/theme.inc	16 Jul 2007 18:32:52 -0000
@@ -1636,7 +1636,6 @@ function template_preprocess_page(&$vari
   $variables['head_title']        = implode(' | ', $head_title);
   $variables['base_path']         = base_path();
   $variables['breadcrumb']        = theme('breadcrumb', drupal_get_breadcrumb());
-  $variables['closure']           = theme('closure');
   $variables['feed_icons']        = drupal_get_feeds();
   $variables['footer_message']    = filter_xss_admin(variable_get('site_footer', FALSE)) . "\n" . theme('blocks', 'footer');
   $variables['head']              = drupal_get_html_head();
@@ -1655,6 +1654,8 @@ function template_preprocess_page(&$vari
   $variables['scripts']           = drupal_get_js();
   $variables['tabs']              = theme('menu_local_tasks');
   $variables['title']             = drupal_get_title();
+  // Closure should be filled last.
+  $variables['closure']           = theme('closure');
 
   if ((arg(0) == 'node') && is_numeric(arg(1))) {
     $variables['node'] = node_load(arg(1));
