WordPress.org

Ready to get started?Download WordPress

Forums

Subscribe To Comments Reloaded
Plugin does not send notifications of comments added by wp_ (3 posts)

  1. lukaszwiecek
    Member
    Posted 2 years ago #

    Hello.

    To respond to comments plugin I'm using WordPress Commentify, which adds comments using the built-in WP functions wp_insert_comment(). Plugin Subscribe to Comments Reloaded does not send notifications of comments added in this way.

    Please help in solving this problem.

    Best regards!
    Lukasz Wiecek

    http://wordpress.org/extend/plugins/subscribe-to-comments-reloaded/

  2. lukaszwiecek
    Member
    Posted 2 years ago #

    I found a solution. In the file, subscribe-to-comments-reloaded.php need to insert this code after line 98:

    add_action('wp_insert_comment', array(&$this, 'new_comment_posted'), 12, 2);

    Best regards!
    Lukasz Wiecek

  3. camu
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Lukasz,

    good catch! I was assuming that wp_insert_comment called the comment_post action hook, but evidently this is not the case. I'll add this new action to the code.

    Thank you for pointing it out. And please don't forget to vote for my plugin!

    Camu

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic