As far as I know, (quickly looking at the code) this is also apparent in Drupal 6.

If a single comment is displayed (ultimately, function comment_render($node, $cid = 0) called with cid != 0) then hook_link_alter is invoked and i can alter the comment links...

However, hook_link_alter is not invoked for the 'multiple comment views'. I have a project which relies on 'destination' being set in the comment links, which i cannot accomplish without this being in place.

Is there any reason that this hook is not invoked on the multiple comment view? (i.e. by design - too slow maybe?)

If this is an oversight, I am willing to patch and supply if noone else has the time to do it. Let me know.

Thanks.

Comments

subspaceeddy’s picture

Status: Active » Closed (duplicate)

Sorry, duplicate of http://drupal.org/node/112514. Should have searched first...