The G2\wotd() function uses taxonomy_node_get_terms() to find the terms associated to the node if G2\VARWOTDTERMS is set.
However, this function no longer exists in D7, and the node always contains the attached taxonomy_term_reference fields since it has been loaded from node_load() just above. The option and associated code should be removed, since they no longer serve any purpose.
Writeup by DamZ about the removal of taxonomy_node_get_terms(): http://drupal.org/node/978242#comment-3748214
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 1457830.patch | 6.93 KB | fgm |
Comments
Comment #0.0
fgmbetter formatting
Comment #1
fgmThat feature cannot reasonably be implemented on D7: see the explanation on the summary.
Use the D9/D10 version these days.
Comment #3
fgmMerged to current D7 HEAD.
Comment #4
fgmMerged to current D7 HEAD.