diff --git a/core/modules/taxonomy/taxonomy-term.tpl.php b/core/modules/taxonomy/taxonomy-term.tpl.php index 07e1e47..712e83c 100644 --- a/core/modules/taxonomy/taxonomy-term.tpl.php +++ b/core/modules/taxonomy/taxonomy-term.tpl.php @@ -5,7 +5,6 @@ * Default theme implementation to display a term. * * Available variables: - * - $name: the (sanitized) name of the term. * - $content: An array of items for the content of the term (fields and * description). Use render($content) to print them all, or print a subset * such as render($content['field_example']). Use diff --git a/core/modules/taxonomy/taxonomy.module b/core/modules/taxonomy/taxonomy.module index aead43d..06bd40f 100644 --- a/core/modules/taxonomy/taxonomy.module +++ b/core/modules/taxonomy/taxonomy.module @@ -634,9 +634,6 @@ function template_preprocess_taxonomy_term(&$variables) { $variables['label'] = check_plain($term->label()); $variables['page'] = $variables['view_mode'] == 'full' && taxonomy_term_is_page($term); - // Flatten the term object's member fields. - $variables = array_merge((array) $term, $variables); - // Helpful $content variable for templates. $variables['content'] = array(); foreach (element_children($variables['elements']) as $key) {