• Hi,

    I updated my wp instance to version 4.2.2 but it seems that some issues occur.
    In order to perform a test, I’ve disabled the function ‘add_action’ in the comment-email-reply/file cer_plugin.php:

    # Fire Email when comments is inserted and is already approved.
    #add_action('wp_insert_comment','cer_comment_notification',99,2);

    and I’ve used a simple message popup:

    function echo_test() {
       echo "<script>alert('OK !');</script>";
    }
    add_action('wp_insert_comment', 'echo_test', 99, 0 );

    When I try to test a reply to a post comment, no popup appears.
    Can you chack please?

    https://wordpress.org/plugins/comment-email-reply/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter joe.3

    (@joe3-1)

    I update with further info.

    I’ve performed a test with a fresh wordpress 4.2.2 installation.
    I confirm it doesn’t work with this version 4.2.2.
    No notifies are sent if someone replies to a comment.

    Here is my test env
    – WordPress 4.2.2 (fresh install)
    – NO other plugins installed
    – Mysql 5.1.73
    – PHP 5.3.3
    – Apache 2.2.15
    – SO Gnu/Linux CentOS 6.6

    Just a note that I’m running an unmodified version of this plugin on 4.2.2 and notifications work fine.

    Turn the debug on and see the logs should help.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘problem with wp_insert_comment hook in wp 4.2.2’ is closed to new replies.