Hi,
We use the get_comment_link()
function in WordPress core to retrieve the link, so that would be where to look. I think there’s a get_comment_link
filter you could use.
-
This reply was modified 1 year, 3 months ago by
Andy Keith.
-
This reply was modified 1 year, 3 months ago by
Andy Keith.
psina
(@aklimatizirovanie_raki_v_atake)
thanx, i add argument $cpage in file class-better-recent-comments-util.php
line 112
result:
$link_fmt = '<a href="' . esc_url( get_comment_link( $comment->comment_ID, [ 'cpage'=>0 ] ) ) . '">%s</a>';
But I did not work, because
4.4.0 verion Added the ability for $comment to also accept a WP_Comment object. Added $cpage argument.
I have a version below
4.9.8 tested – it’s work!
-
This reply was modified 1 year, 3 months ago by
psina.