Changeset 1733 for trunk/wp-includes/functions.php
- Timestamp:
- 10/04/2004 07:44:04 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r1728 r1733 1004 1004 . "Content-Type: text/plain; charset=\"" . get_settings('blog_charset') . "\"\r\n"; 1005 1005 1006 @ mail($user->user_email, $subject, $notify_message, $message_headers);1006 @wp_mail($user->user_email, $subject, $notify_message, $message_headers); 1007 1007 1008 1008 return true; … … 1047 1047 . "Content-Type: text/plain; charset=\"" . get_settings('blog_charset') . "\"\r\n"; 1048 1048 1049 @ mail($admin_email, $subject, $notify_message, $message_headers);1049 @wp_mail($admin_email, $subject, $notify_message, $message_headers); 1050 1050 1051 1051 return true; … … 1797 1797 } 1798 1798 1799 1800 function wp_mail($to, $subject, $message, $headers = '', $more = '') { 1801 if ( function_exists('mb_send_mail') ) 1802 return mb_send_mail($to, $subject, $message, $headers, $more); 1803 else 1804 return mail($to, $subject, $message, $headers, $more); 1805 } 1806 1799 1807 ?>
Note: See TracChangeset
for help on using the changeset viewer.