Ticket #9969: comment-moderation-headers.diff
| File comment-moderation-headers.diff, 762 bytes (added by , 17 years ago) |
|---|
-
pluggable.php
1078 1078 1079 1079 $subject = sprintf( __('[%1$s] Please moderate: "%2$s"'), get_option('blogname'), $post->post_title ); 1080 1080 $admin_email = get_option('admin_email'); 1081 $message_headers = ''; 1081 1082 1082 1083 $notify_message = apply_filters('comment_moderation_text', $notify_message, $comment_id); 1083 1084 $subject = apply_filters('comment_moderation_subject', $subject, $comment_id); 1085 $message_headers = apply_filters('comment_moderation_headers', $message_headers); 1084 1086 1085 @wp_mail($admin_email, $subject, $notify_message );1087 @wp_mail($admin_email, $subject, $notify_message, $message_headers); 1086 1088 1087 1089 return true; 1088 1090 }