Plugin Directory

Changeset 2372398


Ignore:
Timestamp:
08/31/2020 01:57:55 PM (6 years ago)
Author:
sparkpost
Message:

Release v3.2.2

Location:
sparkpost/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • sparkpost/trunk/mailer.http.class.php

    r2360305 r2372398  
    66if (!defined('ABSPATH')) exit();
    77
    8 require_once ABSPATH . WPINC . '/class-phpmailer.php';
     8require_once ABSPATH . WPINC . '/PHPMailer/PHPMailer.php';
    99require_once WPSP_PLUGIN_DIR . '/templates.class.php';
    1010
    11 class SparkPostHTTPMailer extends \PHPMailer
     11class SparkPostHTTPMailer extends \PHPMailer\PHPMailer\PHPMailer
    1212{
    1313    public $endpoint;
     
    6767            $this->debug('Skipping response processing');
    6868            return $result;
    69         } else {
    70             return $this->handle_response($result);
    71         }
     69        }
     70
     71        return $this->handle_response($result);
    7272    }
    7373
     
    435435                $recipients_list[] = $recipient['address']['email'];
    436436            }
    437         };
     437        }
    438438
    439439        return implode(',', $recipients_list);
     
    455455        $formatted_headers = array();
    456456        // split by line separator
    457         foreach (explode($this->LE, $headers) as $line) {
     457        foreach (explode($this::$LE, $headers) as $line) {
    458458
    459459            $splitted_line = explode(': ', $line);
  • sparkpost/trunk/readme.txt

    r2360305 r2372398  
    44Requires at least: 5.5
    55Tested up to: 5.5
    6 Stable tag: 3.2.1
     6Stable tag: 3.2.2
    77License: GPLv2 or later
    88
     
    5252
    5353== Changelog ==
     54
     55= 3.2.2 =
     56- Fixed parsing of headers and addressed class-phpmailer.php deprecation notice (for HTTP) ([156](https://github.com/SparkPost/wordpress-sparkpost/pull/156))
     57
    5458= 3.2.1 =
    5559- Fixed invalid data format/type bug ([153](https://github.com/SparkPost/wordpress-sparkpost/pull/153))
  • sparkpost/trunk/wordpress-sparkpost.php

    r2360305 r2372398  
    66Plugin URI: http://sparkpost.com/
    77Description: Send all your email from Wordpress through SparkPost, the world's most advanced email delivery service.
    8 Version: 3.2.1
     8Version: 3.2.2
    99Author: SparkPost
    1010Author URI: http://sparkpost.com
     
    1919define('WPSP_PLUGIN_DIR', plugin_dir_path(__FILE__));
    2020define('WPSP_PLUGIN_PATH', WPSP_PLUGIN_DIR . basename(__FILE__));
    21 define('WPSP_PLUGIN_VERSION', '3.2.1');
     21define('WPSP_PLUGIN_VERSION', '3.2.2');
    2222
    2323require_once(WPSP_PLUGIN_DIR . 'sparkpost.class.php');
Note: See TracChangeset for help on using the changeset viewer.