WordPress.org

Make WordPress Core

Changeset 39691


Ignore:
Timestamp:
01/05/17 08:09:06 (3 months ago)
Author:
dd32
Message:

Mail: In PHPMailer 5.2.7 the case of the Send() method changed to send(), update our call for consistency with the library.

Props michalzuber.
Fixes #39469.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/pluggable.php

    r39655 r39691  
    479479    // Send! 
    480480    try { 
    481         return $phpmailer->Send(); 
     481        return $phpmailer->send(); 
    482482    } catch ( phpmailerException $e ) { 
    483483 
Note: See TracChangeset for help on using the changeset viewer.