diff options
author | David Rothstein <drothstein@gmail.com> | 2013-03-10 16:11:40 -0400 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2013-03-10 16:11:40 -0400 |
commit | ba9b60db7a62061ba69a2b257f397b23c6f06f77 (patch) | |
tree | 4b6ff65950c66c9811ea3b8953e161457593be2d | |
parent | 92d229978163baa23d0399c5723d087dd92f534d (diff) | |
download | brdo-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).
-rw-r--r-- | CHANGELOG.txt | 3 | ||||
-rw-r--r-- | modules/taxonomy/taxonomy-term.tpl.php | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 2a703b274..19561d541 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,6 +1,9 @@ Drupal 7.22, xxxx-xx-xx (development version) ----------------------- +- Fixed a serious documentation bug: The $name variable in the + taxonomy-term.tpl.php theme template was incorrectly documented as being + sanitized when in fact it is not. - Fixed a bug which prevented Drupal 6 to Drupal 7 upgrades on sites which had duplicate permission names in the User module's database tables. - Added an empty "datatype" attribute to taxonomy term and username links to 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 |