diff --git a/core/includes/menu.inc b/core/includes/menu.inc index 8d3ad7a..b975346 100644 --- a/core/includes/menu.inc +++ b/core/includes/menu.inc @@ -2612,7 +2612,7 @@ function menu_get_default_links() { } /** - * Builds menu links for the items returned from hook_default_meanu_links(). + * Builds menu links for the items returned from hook_default_menu_links(). */ function menu_default_links_rebuild() { $module_handler = \Drupal::moduleHandler(); @@ -2688,7 +2688,7 @@ function menu_default_links_rebuild() { _menu_link_save_recursive($menu_link_controller, $machine_name, $children, $links); } // Handle any children we didn't find starting from top-level links. - foreach ($children as $missing_parent => $orphan_links) { + foreach ($children as $orphan_links) { foreach ($orphan_links as $machine_name) { // Force it to the top level. $links[$machine_name]->plid = 0; diff --git a/core/includes/theme.inc b/core/includes/theme.inc index e1aa541..03dbd10 100644 --- a/core/includes/theme.inc +++ b/core/includes/theme.inc @@ -2110,6 +2110,7 @@ function template_preprocess_html(&$variables) { ); } // @todo Remove once views is not bypassing the view subscriber anymore. + // @see http://drupal.org/node/2068471 elseif (drupal_is_front_page()) { $head_title = array( 'title' => t('Home'),