wp-ulike icon indicating copy to clipboard operation
wp-ulike copied to clipboard

avatar linking to current user profile instead of “liker's” profile

Open 19-1991 opened this issue 6 years ago • 0 comments

If user A "likes" a post, upon refreshing the page it will show +1 like on that post, and it also shows that user's avatar which should link to that user's profile.

Now the problem is that the URL is linking to the Current user's profile, instead of properly linking to User A's profile.

So let's say I am logged into my account. I go to look at the user who liked the post. Well, the avatar is showing user A's image (as it should) but his avatar is linking to My profile. This problem occurs when there is one like on the post.

Now, when there are two likes on the post(say, from two users not including myself) it will show both of the 2 users' avatars. Now when I go to click to view their profile.. user A still links to the current user (my profile) while the second user's avatar (user B) links to user A's profile

Additional Question: Also In the Most liked user widget, The liker avatar is not linking their profile, Please highlight the code need to be changed to works fine.

19-1991 avatar Mar 20 '18 08:03 19-1991