From ba9b60db7a62061ba69a2b257f397b23c6f06f77 Mon Sep 17 00:00:00 2001 From: David Rothstein Date: Sun, 10 Mar 2013 16:11:40 -0400 Subject: Issue #1751054 by borisbaldinger, Berdir, vomiand: Fixed serious documentation problem with the $name variable in taxonomy-term.tpl.php (incorrectly documented as being sanitized when in fact it is not). --- modules/taxonomy/taxonomy-term.tpl.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/taxonomy') diff --git a/modules/taxonomy/taxonomy-term.tpl.php b/modules/taxonomy/taxonomy-term.tpl.php index d410d1ef3..a225c3a57 100644 --- a/modules/taxonomy/taxonomy-term.tpl.php +++ b/modules/taxonomy/taxonomy-term.tpl.php @@ -5,7 +5,8 @@ * Default theme implementation to display a term. * * Available variables: - * - $name: the (sanitized) name of the term. + * - $name: (deprecated) The unsanitized name of the term. Use $term_name + * instead. * - $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 -- cgit v1.2.3