Plugin Directory

Changeset 1128631


Ignore:
Timestamp:
04/06/2015 11:30:40 AM (11 years ago)
Author:
kilozwo
Message:

1.0.4

  • Added some patches regarding spam handling. (Thanks to Jonathan)
  • Blogname and admin email added to "From" mailheader.
Location:
comment-email-reply
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • comment-email-reply/tags/1.0.4/cer_plugin.php

    r1128629 r1128631  
    3838function cer_comment_status_changed($comment_id, $comment_status) {
    3939    $comment_object = get_comment( $comment_id );
    40     if ($comment_object->comment_approved == 1) {
     40    if ($comment_status == 'approve') {
    4141        cer_comment_notification($comment_object->comment_ID, $comment_object);       
    4242    }
  • comment-email-reply/trunk/cer_plugin.php

    r1128629 r1128631  
    3838function cer_comment_status_changed($comment_id, $comment_status) {
    3939    $comment_object = get_comment( $comment_id );
    40     if ($comment_object->comment_approved == 1) {
     40    if ($comment_status == 'approve') {
    4141        cer_comment_notification($comment_object->comment_ID, $comment_object);       
    4242    }
Note: See TracChangeset for help on using the changeset viewer.