Subscribe to Comments plugin hack

Mark Jaquith’s Subscribe to Comments works very well for keeping group blog users aware of comments between visits to the site. However, with comment threading enabled, the links to comments in the emails it sends out are a bit inconvenient – they don’t lead to the comment that’s quoted in the email, which means you must scroll around looking for the comment if you want to reply to it. This hack just adds a link straight to the comment. I submitted a ticket too, so maybe this will be added to the next version.

Insert this at about line 602, just after the code for the regular comment link:

$message .= __("Jump straight to this comment:n",'subscribe-to-comments');
$message .= get_comment_link($comment->comment_ID) . "nn";

Avatar photo

By isaac

I like cats. he/him