Viewing 3 replies - 1 through 3 (of 3 total)
  • Had this problem too, and fixed by changing this:

    function comment_status( $comment_id, $comment_status ) {
       if ( $comment_status == 'approve' ) {

    to this:

    function comment_status( $comment_id, $comment_status ) {
        global $comment;
        if ( $comment_status == 'approve' ) {

    The problem seems to be that the shortcode function tries to load the comment data from the global $comment object, but doesn’t get anything back. The code change means that the comment gets loaded.

    Hope that helps.

    @ig_communitysites, you are a LIFE SAVER. Thanks man. Glad I checked this page.

    Thanks a lot ig_communitysites!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Comment Approval Notification] The najority of the Shortcodes do not work in the email’ is closed to new replies.