contrib modules security updates
This commit is contained in:
@@ -8,9 +8,9 @@ files[] = xmlsitemap_taxonomy.module
|
||||
files[] = xmlsitemap_taxonomy.install
|
||||
files[] = xmlsitemap_taxonomy.test
|
||||
|
||||
; Information added by drupal.org packaging script on 2012-12-08
|
||||
version = "7.x-2.0-rc2+0-dev"
|
||||
; Information added by Drupal.org packaging script on 2016-05-25
|
||||
version = "7.x-2.3"
|
||||
core = "7.x"
|
||||
project = "xmlsitemap"
|
||||
datestamp = "1354931808"
|
||||
datestamp = "1464191061"
|
||||
|
||||
|
@@ -50,7 +50,7 @@ function xmlsitemap_taxonomy_xmlsitemap_process_taxonomy_term_links(array $tids)
|
||||
$terms = taxonomy_term_load_multiple($tids);
|
||||
foreach ($terms as $term) {
|
||||
$link = xmlsitemap_taxonomy_create_link($term);
|
||||
xmlsitemap_link_save($link);
|
||||
xmlsitemap_link_save($link, array($link['type'] => $term));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -107,7 +107,7 @@ function xmlsitemap_taxonomy_vocabulary_update(stdClass $vocabulary) {
|
||||
*/
|
||||
function xmlsitemap_taxonomy_term_insert(stdClass $term) {
|
||||
$link = xmlsitemap_taxonomy_create_link($term);
|
||||
xmlsitemap_link_save($link);
|
||||
xmlsitemap_link_save($link, array($link['type'] => $term));
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -115,7 +115,7 @@ function xmlsitemap_taxonomy_term_insert(stdClass $term) {
|
||||
*/
|
||||
function xmlsitemap_taxonomy_term_update(stdClass $term) {
|
||||
$link = xmlsitemap_taxonomy_create_link($term);
|
||||
xmlsitemap_link_save($link);
|
||||
xmlsitemap_link_save($link, array($link['type'] => $term));
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -263,3 +263,16 @@ function xmlsitemap_taxonomy_entity_query_alter($query) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Implements hook_features_pipe_COMPONENT_alter().
|
||||
*
|
||||
* Add variables to exported taxonomy vocabularies.
|
||||
*/
|
||||
function xmlsitemap_taxonomy_features_pipe_taxonomy_alter(&$pipe, $data, $export) {
|
||||
if (!empty($data)) {
|
||||
foreach ($data as $vocabulary_name) {
|
||||
$pipe['variable'][] = "xmlsitemap_settings_taxonomy_term_{$vocabulary_name}";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user