[wp-cvs] wordpress/wp-includes functions.php,1.175,1.176
Matthew Mullenweg
saxmatt at users.sourceforge.net
Mon Oct 4 07:44:06 UTC 2004
Update of /cvsroot/cafelog/wordpress/wp-includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22663/wp-includes
Modified Files:
functions.php
Log Message:
Use mb_mail_send if available.
Index: functions.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/functions.php,v
retrieving revision 1.175
retrieving revision 1.176
diff -C2 -d -r1.175 -r1.176
*** functions.php 2 Oct 2004 19:24:40 -0000 1.175
--- functions.php 4 Oct 2004 07:44:04 -0000 1.176
***************
*** 1004,1008 ****
. "Content-Type: text/plain; charset=\"" . get_settings('blog_charset') . "\"\r\n";
! @mail($user->user_email, $subject, $notify_message, $message_headers);
return true;
--- 1004,1008 ----
. "Content-Type: text/plain; charset=\"" . get_settings('blog_charset') . "\"\r\n";
! @wp_mail($user->user_email, $subject, $notify_message, $message_headers);
return true;
***************
*** 1047,1051 ****
. "Content-Type: text/plain; charset=\"" . get_settings('blog_charset') . "\"\r\n";
! @mail($admin_email, $subject, $notify_message, $message_headers);
return true;
--- 1047,1051 ----
. "Content-Type: text/plain; charset=\"" . get_settings('blog_charset') . "\"\r\n";
! @wp_mail($admin_email, $subject, $notify_message, $message_headers);
return true;
***************
*** 1797,1799 ****
}
! ?>
--- 1797,1807 ----
}
!
! function wp_mail($to, $subject, $message, $headers = '', $more = '') {
! if ( function_exists('mb_send_mail') )
! return mb_send_mail($to, $subject, $message, $headers, $more);
! else
! return mail($to, $subject, $message, $headers, $more);
! }
!
! ?>
\ No newline at end of file
More information about the cvs
mailing list