Make WordPress Core

Ticket #39469: 39469.diff

File 39469.diff, 490 bytes (added by michalzuber, 9 years ago)

Lowercase send() in pluggable.php

  • src/wp-includes/pluggable.php

    diff --git a/src/wp-includes/pluggable.php b/src/wp-includes/pluggable.php
    index aa9b1adf4..3e6fbe14d 100644
    a b function wp_mail( $to, $subject, $message, $headers = '', $attachments = array() 
    478478
    479479        // Send!
    480480        try {
    481                 return $phpmailer->Send();
     481                return $phpmailer->send();
    482482        } catch ( phpmailerException $e ) {
    483483
    484484                $mail_error_data = compact( 'to', 'subject', 'message', 'headers', 'attachments' );