Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Blog Comment Link in Activity Stream Broken has ID# Twice


hotforwords
Participant

@hotforwords

I figured out the proper fix, because the first link, the name of the Blog Title is supposed to take you to the blog not the comment.. the later link called View takes you to the Comment.

The stream looks like this:

HotForWords commented on the blog post W, why double U? 18 seconds ago · View · Delete

We want to fix the BLOG POST TITLE LINK without breaking the VIEW link.

So I fixed it this way:

On Line 429
Take this code:
. $comment_link . '#comment-' . $comment->comment_ID .

and change it to:

. get_permalink( $comment->comment_post_ID ) .

Skip to toolbar