problem with wp_insert_comment hook in wp 4.2.2
-
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?
Viewing 3 replies - 1 through 3 (of 3 total)
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.