WordPress.org

Make WordPress Core

Changeset 2365


Ignore:
Timestamp:
02/19/05 04:17:34 (13 years ago)
Author:
rboren
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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r2361 r2365  
    15961596 
    15971597 
    1598 function wp_mail($to, $subject, $message, $headers = '', $more = '') { 
     1598function wp_mail($to, $subject, $message, $headers = '') { 
    15991599    if( $headers == '' ) { 
    16001600        $headers = "MIME-Version: 1.0\n" . 
     
    16021602    } 
    16031603 
    1604     return @mail($to, $subject, $message, $headers, $more); 
     1604    return @mail($to, $subject, $message, $headers); 
    16051605} 
    16061606 
Note: See TracChangeset for help on using the changeset viewer.