• evil

    (@p47ri0t)


    hi

    i load comments by ajax.
    like and dislike icons does not add .(for first 10 comment it is ok but for loaded not )

    you can see own in : https://www.tasvirezendegi.com/?p=76906 ( click ? ????? ?????? ??? ????? ? )??

    sorry for poor english.

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 4 years, 8 months ago by net.
    Thread Starter evil

    (@p47ri0t)

    @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 years, 5 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 4 years, 2 months ago by doomsoul.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘problem with ajax load comment’ is closed to new replies.