Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
function nodewords_taxonomy($op, $type, $object = NULL) {
if ($type == NODEWORDS_TYPE_TERM || $type == 'term') {
$id = $object['tid'];
$type = NODEWORDS_TYPE_TERM;
}
elseif ($type == NODEWORDS_TYPE_VOCABULARY) {
$id = $object['vid'];
}
else {
return;
}
...
Line 550 in nodewords.module
$type = 'term'
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedThis is a duplicate of an already existing issue. The code has been already changed, but not like reported in the snippet, which is not correct as
hook_taxonomy()
doesn't get the value ofNODEWORDS_TYPE_TERM
for$type
because that is a numeric value used by Nodewords, while Drupal core code uses strings.Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedThe issue report that this one duplicates is #672096: Meta tags are not saved for taxomony terms or vocabularies.