Comment count is wrong on user page

4.96K viewsIssues
0

Hi, I just installed AnsPress and I found out that the number of comments in the user profile is wrong.

This is actualy due to a mistake in theme/default/user/user.php on line 64). Current code is :

printf(__('%d Comments', 'anspress-question-answer' ), ap_user_comment_count(ap_displayed_user_id() ) );

whereas it should be :

printf(__('%d Comments', 'anspress-question-answer' ), ap_user_comment_count(ap_get_displayed_user_id() ) );

I suggest that you include this fix in a next release.

Besides that, you obviously achieved a tremendous work on this plugin. Thanks and kudos !

0

Great ! I was not aware of the github repo. I’ll take a look at it.

Regards,

You are viewing 1 out of 2 answers, click here to view all answers.