Make WordPress Core


Ignore:
Timestamp:
03/03/2014 08:24:31 PM (11 years ago)
Author:
nacin
Message:

Update PHPMailer to 5.2.7 from 5.2.4.

Includes two trivial modifications for WordPress:

  • Doesn't use the autoloader, so the check to enforce the autoloader from the constructor is removed.
  • Requires class-smtp.php for backwards compatibility with direct (non-wp_mail()) uses of PHPMailer, as the autoloader isn't used.

props bpetty.
fixes #25560.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/includes/mock-mailer.php

    r25002 r27385  
    55    var $mock_sent = array();
    66
    7     // override the Send function so it doesn't actually send anything
    8     function Send() {
     7    /**
     8     * Override send() so mail isn't actually sent.
     9     */
     10    function send() {
    911        try {
    10             if ( ! $this->PreSend() )
     12            if ( ! $this->preSend() )
    1113                return false;
    1214
Note: See TracChangeset for help on using the changeset viewer.