Commit e079a7ab authored by Dave Reid's avatar Dave Reid
Browse files

by Dave Reid: Function taxonomy_term_path() is deprecated.

parent c118b5c9
......@@ -204,7 +204,7 @@ function xmlsitemap_taxonomy_create_link(stdClass $term) {
'id' => $term->tid,
'type' => 'taxonomy_term',
'subtype' => $term->vid,
'loc' => taxonomy_term_path($term),
'loc' => 'taxonomy/term/' . $term->tid,
'status' => variable_get('xmlsitemap_taxonomy_status_' . $term->vid, 0),
'status_default' => variable_get('xmlsitemap_taxonomy_status_' . $term->vid, 0),
'status_override' => 0,
......
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