Hi
Starting with version 7.6.30 the filter wpdiscuz_comment_author no longer works. We were using this to change the author display name, to be anonymous, based on some custom user fields. This now no longer works.
The version 7.6.29 and all prior versions works fine.
Using your demo code found here https://wpdiscuz.com/docs/codex/filters/wpdiscuz_comment_author/ :
add_filter(“wpdiscuz_comment_author”, function ($authorName, $comment) {
$authorName = “Boss”;
return $authorName;
}, 10, 2);
This now longer works either, and “Boss” is not used on any comments that are returned via the AJAX request.
If someone could please look into this, as for now, we are locked at 7.6.29.
Hi,
We've tested this multiple times on our end and haven't been able to reproduce the issue. Could you please record a video demonstrating the problem, so we can better understand and assist you?
Just wanted to say, it's not just you. Doing it for me too. I use it to display the comment count for each comment author.