This issue is a spin-off from #2449127: Remove $node->taxonomy and replace all usages with $node->taxonomy_weblinks. The final part of that change is not a 7.x blocker so moving it here to allow the original to be closed.
As discussed in comments #10, #11, #15 and #16 the code currently takes the first item of the ->taxonomy_weblinks array in two places, which in most scenarios is the only item. The key is 'und' so this is a language-neutral taxonomy. We could change the code the check if the global $lancode key exists but as I have not managed to produce a taxonomy with more than one language item I cannot check if this is the right thing to do.
Comments
Comment #1
jonathan1055 CreditAttribution: jonathan1055 commentedFor reference the two places are:
and
When we work out how to get any more than one top-level entry in the ->taxonomy_weblinks array, and hence need to choose an item not just take the first, then we can progress this issue.