Plugin Directory

Changeset 1128634


Ignore:
Timestamp:
04/06/2015 11:37:51 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

    r1128631 r1128634  
    2727        $headers  = 'MIME-Version: 1.0' . "\r\n";
    2828        $headers .= 'Content-type: text/html; charset=UTF-8' . "\r\n";
    29         $headers .= 'From: '.get_option('blogname').'<'.get_option('admin_email').'>' . "\r\n";
     29        $headers .= 'From: '.get_option('blogname').' <'.get_option('admin_email').'>' . "\r\n";
    3030
    3131        wp_mail($comment_parent->comment_author_email,'['.get_option('blogname').'] '.__('New reply to your Comment','cer_plugin'),$mailcontent,$headers);
  • comment-email-reply/trunk/cer_plugin.php

    r1128631 r1128634  
    2727        $headers  = 'MIME-Version: 1.0' . "\r\n";
    2828        $headers .= 'Content-type: text/html; charset=UTF-8' . "\r\n";
    29         $headers .= 'From: '.get_option('blogname').'<'.get_option('admin_email').'>' . "\r\n";
     29        $headers .= 'From: '.get_option('blogname').' <'.get_option('admin_email').'>' . "\r\n";
    3030
    3131        wp_mail($comment_parent->comment_author_email,'['.get_option('blogname').'] '.__('New reply to your Comment','cer_plugin'),$mailcontent,$headers);
Note: See TracChangeset for help on using the changeset viewer.