From c567fccfc4b6bb5e06749dea604e5b1994dfc7bf Mon Sep 17 00:00:00 2001 From: rboren Date: Sat, 19 Feb 2005 04:17:34 +0000 Subject: [PATCH] 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 git-svn-id: http://svn.automattic.com/wordpress/trunk@2365 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/functions.php b/wp-includes/functions.php index c70024ab8..8df3d9b4f 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -1595,13 +1595,13 @@ function htmlentities2($myHTML) { } -function wp_mail($to, $subject, $message, $headers = '', $more = '') { +function wp_mail($to, $subject, $message, $headers = '') { if( $headers == '' ) { $headers = "MIME-Version: 1.0\n" . "Content-Type: text/plain; charset=\"" . get_settings('blog_charset') . "\"\n"; } - return @mail($to, $subject, $message, $headers, $more); + return @mail($to, $subject, $message, $headers); } if ( !function_exists('wp_login') ) :