Link to comment
-
To fix the link to link to comment bug, please change the following line within: mention-me.php
Version: 1.0.5
Line: 291FROM:
$row .= sprintf( '<td class="text">'.__( "%s on <a href='%s' class='tooltip' title='%s'>%s</a>" , 'mentionme') . '</td></tr>', $author_html, $comment_url, attribute_escape($comment_content), $post_title );
TO:
$row .= sprintf( '<td class="text">'.__( "%s on <a href='%s' class='tooltip' title='%s'>%s</a>" , 'mentionme') . '</td></tr>', $author_html, get_permalink( $comment->post_id ) . $comment_url, attribute_escape($comment_content), $post_title );
This will ensure the mention link correctly goes to the relevant comment.
Enjoy ??
- The topic ‘Link to comment’ is closed to new replies.