BUG does not give best answer rep

4.46K viewsUpdates
0

2.4.4

I, admin, select an answer of a person B as “selected”. I was supposed to get +selecting_answer, but it’s B who received it. I received nothing. Noone received +select_answer (best_answer).

“best_answer” reputation is never getting assigned. It checks “if ( $answer->post_author != $userid )”, but from ajax it’s getting called as userid=answer->post_author, this is always false.

Should probably be called with current_user_id instead of post->author.

Last actions on post are logged as person B as well. Even though it’s me who was selecting and unselecting best answer.

1

Dima, Thanks for letting us know. I will check the bug and push a fix soon.

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