G2\wotd() uses removed function taxonomy_node_get_terms

Created on 26 February 2012, over 12 years ago
Updated 27 June 2023, over 1 year ago

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

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇫🇷France fgm Paris, France

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024