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

Viewing 8 replies - 1 through 8 (of 8 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 7 months, 2 weeks ago by net.

    @krstarica thank you🙏 .it works

    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 4 months, 2 weeks 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 1 month, 2 weeks ago by doomsoul.

    Thanks in advance Simon
    https://simakade.ir/

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

    الگوی خیاطی

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.