Changeset 905 for trunk/wp-includes/functions.php
- Timestamp:
- 02/21/2004 10:53:05 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r902 r905 1000 1000 global $wpdb, $tablecomments, $tableposts, $tableusers; 1001 1001 global $querystring_start, $querystring_equal, $querystring_separator; 1002 global $blogfilename, $blogname, $siteurl ;1002 global $blogfilename, $blogname, $siteurl, $blog_charset; 1003 1003 1004 1004 $comment = $wpdb->get_row("SELECT * FROM $tablecomments WHERE comment_ID='$comment_id' LIMIT 1"); … … 1044 1044 } 1045 1045 1046 @mail($user->user_email, $subject, $notify_message, $from); 1046 $message_headers = "MIME-Version: 1.0\r\n" 1047 . "$from\r\n" 1048 . "Content-Type: text/plain; charset=\"$blog_charset\"\r\n"; 1049 1050 @mail($user->user_email, $subject, $notify_message, $message_headers); 1047 1051 1048 1052 return true; … … 1081 1085 $from = "From: $admin_email"; 1082 1086 1083 @mail($admin_email, $subject, $notify_message, $from); 1087 $message_headers = "MIME-Version: 1.0\r\n" 1088 . "$from\r\n" 1089 . "Content-Type: text/plain; charset=\"$blog_charset\"\r\n"; 1090 1091 @mail($admin_email, $subject, $notify_message, $message_headers); 1084 1092 1085 1093 return true;
Note: See TracChangeset
for help on using the changeset viewer.