summaryrefslogtreecommitdiff
path: root/modules/taxonomy
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2013-03-10 16:11:40 -0400
committerDavid Rothstein <drothstein@gmail.com>2013-03-10 16:11:40 -0400
commitba9b60db7a62061ba69a2b257f397b23c6f06f77 (patch)
tree4b6ff65950c66c9811ea3b8953e161457593be2d /modules/taxonomy
parent92d229978163baa23d0399c5723d087dd92f534d (diff)
downloadbrdo-ba9b60db7a62061ba69a2b257f397b23c6f06f77.tar.gz
brdo-ba9b60db7a62061ba69a2b257f397b23c6f06f77.tar.bz2
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).
Diffstat (limited to 'modules/taxonomy')
-rw-r--r--modules/taxonomy/taxonomy-term.tpl.php3
1 files changed, 2 insertions, 1 deletions
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