Ticket #8277: pluggable.diff
| File pluggable.diff, 872 bytes (added by , 17 years ago) |
|---|
-
pluggable.php
1061 1061 $subject = sprintf( __('[%1$s] Please moderate: "%2$s"'), get_option('blogname'), $post->post_title ); 1062 1062 $admin_email = get_option('admin_email'); 1063 1063 1064 $message_headers = "$from\n" 1065 . "Content-Type: text/plain; charset=\"" . get_option('blog_charset') . "\"\n"; 1066 1064 1067 $notify_message = apply_filters('comment_moderation_text', $notify_message, $comment_id); 1065 1068 $subject = apply_filters('comment_moderation_subject', $subject, $comment_id); 1069 $message_headers = apply_filters('comment_moderation_headers', $message_headers, $comment_id); 1066 1070 1067 @wp_mail($admin_email, $subject, $notify_message );1071 @wp_mail($admin_email, $subject, $notify_message, $message_headers); 1068 1072 1069 1073 return true; 1070 1074 }