Title: Link to comment
Last modified: August 21, 2016

---

# Link to comment

 *  Resolved [casbitton](https://wordpress.org/support/users/casbitton/)
 * (@casbitton)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/link-to-comment-resolved/)
 * To fix the link to link to comment bug, please change the following line within:
   mention-me.php
 * Version: 1.0.5
    Line: 291
 * FROM:
    `$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 🙂
 * [https://wordpress.org/plugins/mention-me/](https://wordpress.org/plugins/mention-me/)

The topic ‘Link to comment’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/mention-me.svg)
 * [Mention-Me Widget](https://wordpress.org/plugins/mention-me/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mention-me/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mention-me/)
 * [Active Topics](https://wordpress.org/support/plugin/mention-me/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mention-me/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mention-me/reviews/)

## Tags

 * [resolved](https://wordpress.org/support/topic-tag/resolved/)

 * 0 replies
 * 1 participant
 * Last reply from: [casbitton](https://wordpress.org/support/users/casbitton/)
 * Last activity: [12 years, 3 months ago](https://wordpress.org/support/topic/link-to-comment-resolved/)
 * Status: resolved