Commit 7fcf25a3 authored by reyero's avatar reyero Committed by Cody Craven
Browse files

Issue #1231090 by Jose Reyero, codycraven: Send term page title through...

Issue #1231090 by Jose Reyero, codycraven: Send term page title through internationalization taxonomy, if it exists.
parent 6c455410
Taxonomy Display 7.x-1.x, YYYY-MM-DD
------------------------------------
Issue #12310909 by codycraven: Added alter hook in core breadcrumb handler to
Issue #1231090 by Jose Reyero, codycraven: Send term page title through
internationalization taxonomy, if it exists.
Issue #1231090 by codycraven: Added alter hook in core breadcrumb handler to
support manipulating term parents.
Taxonomy Display 7.x-1.0-rc4, 2011-09-11
......
......@@ -378,7 +378,8 @@ function taxonomy_display_taxonomy_term_page($term) {
* The term name to be used as the page title.
*/
function taxonomy_display_taxonomy_term_title($term) {
return taxonomy_term_title($term);
return function_exists('i18n_taxonomy_term_name') ?
i18n_taxonomy_term_name($term) : taxonomy_term_title($term);
}
/**
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment