Support » Plugin: Comments Like Dislike » problem with ajax load comment

Viewing 6 replies - 1 through 6 (of 6 total)
  • net

    (@krstarica)

    In cld-hook.php, in function comments_like_dislike:

    change:

    if ( is_admin() ) {
        return $comment_text;
    }
    

    to:

    if ( is_admin() && !wp_doing_ajax() ) {
        return $comment_text;
    }
    
    • This reply was modified 1 year, 1 month ago by net.
    Thread Starter p47ri0t

    (@p47ri0t)

    @krstarica thank you🙏 .it works

    doomsoul

    (@doomsoul)

    Hey @krstarica,
    thank you so much for the Snippet -> works also for Plugin “Lazy Load for Comments”.
    Is there a way via filter or hook to implement this code? (So you don’t have to modify the file when the plugin updates)

    Thanks in advance
    Simon

    • This reply was modified 11 months ago by doomsoul.
    net

    (@krstarica)

    Unfortunately, this is a bug and cannot be fixed using filter or hook.

    Hopefully authors of this great plugin @happy-coders will fix it in the next version.

    net

    (@krstarica)

    @happy-coders please be so kind to fix this issue, it is present in the latest version 1.1.1, too. Many thanks.

    Would be really great, I had to uninstall the Plugin because of this issue… I can imagine that developing a plugin is hard and time-consuming and want to thank you for that, but I am not fully able to understand why this has not been implemented yes. It seems like the Solution is right up there 👆

    • This reply was modified 8 months, 1 week ago by doomsoul.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘problem with ajax load comment’ is closed to new replies.