[wp-cvs] wordpress/wp-includes functions.php,1.101.4.8,1.101.4.9
Matthew Mullenweg
saxmatt at users.sourceforge.net
Wed Dec 15 20:23:13 UTC 2004
Update of /cvsroot/cafelog/wordpress/wp-includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22372/wp-includes
Modified Files:
Tag: WordPress-Ver-1_2-Branch
functions.php
Log Message:
Mail fix
Index: functions.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/functions.php,v
retrieving revision 1.101.4.8
retrieving revision 1.101.4.9
diff -C2 -d -r1.101.4.8 -r1.101.4.9
*** functions.php 15 Dec 2004 19:41:50 -0000 1.101.4.8
--- functions.php 15 Dec 2004 20:23:11 -0000 1.101.4.9
***************
*** 1375,1381 ****
function wp_mail($to, $subject, $message, $headers = '', $more = '') {
if( $headers == '' ) {
! $headers = "MIME-Version: 1.0\r\n" .
! "From: " . $to . " <" . $to . ">\r\n" .
! "Content-Type: text/plain; charset=\"" . get_settings('blog_charset') . "\"\r\n";
}
if ( function_exists('mb_send_mail') )
--- 1375,1381 ----
function wp_mail($to, $subject, $message, $headers = '', $more = '') {
if( $headers == '' ) {
! $headers = "MIME-Version: 1.0\n" .
! "From: " . $to . " <" . $to . ">\n" .
! "Content-Type: text/plain; charset=\"" . get_settings('blog_charset') . "\"\n";
}
if ( function_exists('mb_send_mail') )
More information about the cvs
mailing list