[wp-cvs] wordpress/wp-includes functions.php,1.268,1.269

Ryan Boren rboren at users.sourceforge.net
Sat Feb 19 04:17:36 GMT 2005


Update of /cvsroot/cafelog/wordpress/wp-includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6668/wp-includes

Modified Files:
	functions.php 
Log Message:
Remove  option from wp_mail().  The additional parameters argument to mail() is non-portable and not useful to us.  Props: dalziel.  http://mosquito.wordpress.org/view.php?id=855

Index: functions.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-includes/functions.php,v
retrieving revision 1.268
retrieving revision 1.269
diff -C2 -d -r1.268 -r1.269
*** functions.php	17 Feb 2005 09:03:23 -0000	1.268
--- functions.php	19 Feb 2005 04:17:34 -0000	1.269
***************
*** 1596,1600 ****
  
  
! function wp_mail($to, $subject, $message, $headers = '', $more = '') {
  	if( $headers == '' ) {
  		$headers = "MIME-Version: 1.0\n" .
--- 1596,1600 ----
  
  
! function wp_mail($to, $subject, $message, $headers = '') {
  	if( $headers == '' ) {
  		$headers = "MIME-Version: 1.0\n" .
***************
*** 1602,1606 ****
  	}
  
! 	return @mail($to, $subject, $message, $headers, $more);
  }
  
--- 1602,1606 ----
  	}
  
! 	return @mail($to, $subject, $message, $headers);
  }
  



More information about the cvs mailing list